On Tue, Mar 02, 2010 at 03:00:56PM +0100, Jonas Smedegaard wrote:
From a quick glance it looks to me that you are moving around a conffile
in a packaging script. It is tricky to do so properly - an example of
what might else happen is users getting confusing questions if they want
to
On Mon, Mar 01, 2010 at 07:42:25PM -0300, Felipe Sateler wrote:
+ mv $CONFIG_FILE{,.disabled} || true
Note that the {,} idiom is a bashism. It will fail with dash as /bin/sh
Thanks, that's fixed.
Adrbetter run checkbashisms next timeian
--
mail: a...@thur.de http://adi.thur.de
On Tue, Mar 02, 2010 at 02:41:56PM +0100, Adrian Knoth wrote:
On Mon, Mar 01, 2010 at 07:42:25PM -0300, Felipe Sateler wrote:
+ mv $CONFIG_FILE{,.disabled} || true
Note that the {,} idiom is a bashism. It will fail with dash as
/bin/sh
Thanks, that's fixed.
From a quick glance it
On Mon, Mar 1, 2010 at 19:13, adiknoth-gu...@users.alioth.debian.org wrote:
+ mv $CONFIG_FILE{.disabled,} || true
else
# user doesn't want RT prio
- rm -rf $CONFIG_FILE
+ mv $CONFIG_FILE{,.disabled} || true
fi
Note that the {,} idiom is a bashism. It will fail with dash as