* Julien Cristau [Mon, 17 Nov 2008 01:20:23 +0100]:
> > [ -f /var/run/motd ] || touch /var/run/motd
> > [ -f /var/run/motd.orig ] || cp /var/run/motd /var/run/motd.orig
> FWIW, set -e won't abort the script with the above code (well, unless
> touch or cp fail). From dash(1):
>
On Mon, 2008-11-17 at 01:20 +0100, Julien Cristau wrote:
> On Fri, Nov 7, 2008 at 20:05:02 +0100, Adeodato Simó wrote:
>
> > > +# Just incase someone has removed their motd file.
> > > +[ ! -f /var/run/motd ] && touch /var/run/motd
> > > [ ! -f /var/run/motd.orig ] && cp /var/run/mot
On Fri, Nov 7, 2008 at 20:05:02 +0100, Adeodato Simó wrote:
> * Andrew Ruthven [Tue, 04 Nov 2008 14:08:32 +1300]:
>
> > Gidday,
>
> Hello,
>
> > +# Just incase someone has removed their motd file.
> > +[ ! -f /var/run/motd ] && touch /var/run/motd
> > [ ! -f /var/run/motd.orig ] &
* Andrew Ruthven [Sat, 08 Nov 2008 23:59:14 +1300]:
> Hi Adeodato,
> Thank you for the feedback. Interestingly the first set of tests did
> seemed to work when I was testing various combinations before making the
> upload of 0.9.0-4. But I've changed them as suggested.
> I've also changed the
Hi Adeodato,
Thank you for the feedback. Interestingly the first set of tests did
seemed to work when I was testing various combinations before making the
upload of 0.9.0-4. But I've changed them as suggested.
I've also changed the handling of the return code as suggested.
Please find attached
* Andrew Ruthven [Tue, 04 Nov 2008 14:08:32 +1300]:
> Gidday,
Hello,
> +# Just incase someone has removed their motd file.
> +[ ! -f /var/run/motd ] && touch /var/run/motd
> [ ! -f /var/run/motd.orig ] && cp /var/run/motd /var/run/motd.orig
This is wrong for a `set -e` script. If t
Gidday,
I'd like to request a freeze exception for mythtv-status, for which I'm
both the upstream and the Debian maintainers. The latest version
(0.9.0-4) in Sid contains the following fixes to the one in Lenny. The
only substantial changes are in the init.d script.
* Don't abort the init.d sc
7 matches
Mail list logo