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