On Mon, Jun 08, 2009 at 12:02:44AM +0200, Ulrich Mueller wrote: > >>>>> On Sun, 7 Jun 2009, Robin H Johnson wrote: > > 2. Right now, every init.d script that needs to detection should revbump > > and change to the following: > > [[ -f /lib/librc.so -o -f /etc/init.d/sysfs -o -f /libexec/rc/version ]] > Wasn't the convention for init scripts to use only single square > brackets, i.e. POSIX shell syntax? That was raised in the bug as well. My testing was with bash --posix, so if that doesn't implement POSIX correctly, then yes, we'd need to change.
Roy: [[ or [? -- Robin Hugh Johnson Gentoo Linux Developer & Infra Guy E-Mail : robb...@gentoo.org GnuPG FP : 11AC BA4F 4778 E3F6 E4ED F38E B27B 944E 3488 4E85
pgpHwvuhSsHtK.pgp
Description: PGP signature