Re: Bug#310567: bashism in util-vserver postinst script
Hello
To release management. Can you accept a fix for this?
Regards,
// Ola
On Tue, May 24, 2005 at 01:36:44PM +0200, Matus UHLAR - fantomas wrote:
> Package: util-vserver
> Version: 0.30.204-5sarge1
>
> Hello,
>
> the postinst script for util-vserver has bashism, which causes errors if
> /bin/sh is not bash:
>
> # Remove older attr +t if present
> if [ "`lsattr -d /var/lib/vservers/|cut -c16`" == "t" ] ; then
> chattr -t /var/lib/vservers
> fi
>
> the "==" string ish bashism. Pure "=" will do the same work and will work
> with dash installed as /bin/sh. Please change it.
> Thank you.
>
> --
> Matus UHLAR - fantomas, uhlar@fantomas.sk ; http://www.fantomas.sk/
> Warning: I wish NOT to receive e-mail advertising to this address.
> Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
> Fighting for peace is like fucking for virginity...
>
>
--
--------------------- Ola Lundqvist ---------------------------
/ opal@debian.org Annebergsslingan 37 \
| opal@lysator.liu.se 654 65 KARLSTAD |
| +46 (0)54-10 14 30 +46 (0)70-332 1551 |
| http://www.opal.dhs.org UIN/icq: 4912500 |
\ gpg/f.p.: 7090 A92B 18FE 7994 0C36 4FE4 18A1 B1CF 0FE5 3DD9 /
---------------------------------------------------------------
Reply to: