Re: Help needed with debconf
"Arne Götje" <20030910antispam@gmx.net> wrote:
> On Wednesday 15 December 2004 16:32, Andreas Metzler wrote:
>> postinst:
>> #!/bin/sh
>> [...]
>> if [ "$variant" == "Unicode" ]; then
>> That is a bashism which will fail if /bin/sh is dash. Use
>> [ "foo" = "bar" ] instead.
> Thanks... are there any more pitfalls like this?
[...]
Yes, there are, lintian finds most of them iirc and using dash as as
/bin/sh in the sid chroot helps to find them, too.
cu andreas
--
"See, I told you they'd listen to Reason," [SPOILER] Svfurlr fnlf,
fuhggvat qbja gur juveyvat tha.
Neal Stephenson in "Snow Crash"
http://downhill.aus.cc/
Reply to: