[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#264241: Some corrections regardings statements in this bug



Hi,

Adrian Bunk <bunk@fs.tum.de> wrote:

> On Mon, Aug 16, 2004 at 12:23:27PM +0200, Florent Rougon wrote:
>>...
>> +if [ x"$1" = "xremove" ] || [ x"$1" = "xupgrade" ]; then
>> 
>> (and I would even drop the x thingies 'cause I don't think they are of
>> any use these days...)
>
> I don't know which shells have problems without them, but if a script is 
> written to be executed by nearly every shell, I'd keep them.

But in this case, we are talking about maintainer scripts; they are
written for Debian systems and I'd rather have the buggy shells fixed,
than all Debian maintainer scripts plagued with ugly workarounds like
this one, that make shell code harder to read.

-- 
Florent



Reply to: