On Mon, Aug 25, 2008 at 06:46:50PM +0200, Michael Biebl wrote:
I guess this would work. Please keep in mind to never use set -e then,
otherwise your script will exit at this point if /lib/lsb/init-functions
doesn't exist.
Sure?
[EMAIL PROTECTED]:~$ cat a.sh
#!/bin/sh
set -e
[ -f foo ] echo
On Sun, Aug 24, 2008 at 09:29:03PM +0200, Michael Biebl wrote:
NOLSB=yes
[..]
[ -f /lib/lsb/init-functions ] || NOLSB=yes
== NOLSB will never be no
This is not exactly true because in [...] /etc/default/virtualbox-ose is
sourced if available. Thus NOLSB could be reset there.
Don't make a
Michael Meskes wrote:
On Sun, Aug 24, 2008 at 09:29:03PM +0200, Michael Biebl wrote:
NOLSB=yes
[..]
[ -f /lib/lsb/init-functions ] || NOLSB=yes
== NOLSB will never be no
This is not exactly true because in [...] /etc/default/virtualbox-ose is
sourced if available. Thus NOLSB could be
On Sunday 24 August 2008, Michael Biebl wrote:
The current version in unstable still doesn't use the lsb logging
functions, so I'm reopening the bug report.
NOLSB=yes
[..]
[ -f /lib/lsb/init-functions ] || NOLSB=yes
== NOLSB will never be no
I also think that the checks
if [ -z $NOLSB
4 matches
Mail list logo