[SM-Commit] GIT changes to stable-rc-0.6 grimoire by Jaka Kranjc (0bfbb4baa136828b92e854e50a0a0048f27785c4)
thomas-forum at orgis.org
Wed Jan 10 09:57:21 EST 2007
Am Wed, 10 Jan 2007 11:10:34 +0100
schrieb Jaka Kranjc <lynx at mages.ath.cx>:
> On Wednesday 10 January 2007 10:49, Thomas Orgis wrote:
> > Am Wed, 10 Jan 2007 10:27:57 +0100
> > schrieb Jaka Kranjc <lynx at mages.ath.cx>:
> > > On Wednesday 10 January 2007 09:27, Thomas Orgis wrote:
> > > > Am Tue, 9 Jan 2007 11:44:54 -0600
> > > >
> > > > schrieb Jaka Kranjc <scm at mail.sourcemage.org>:
> > > > > +. /etc/sysconfig/devices &&
> Do you know of a better way how to fix that bug?
Heck! Now I see that casting it first time inside the chroot wouldn't work at all!
You don't have this file and sourcing will fail. We need to take care for the first install.
Regardless of $INSTALL_ROOT, we have to check for existence of this file.
Only use the existing choice if there is an existing choice.
What do you think of this?
if [[ -f "$INSTALL_ROOT/etc/sysconfig/devices" ]] then
if [[ "$DEVICES" ]]; then
config_query_list DEVICES "Choose /dev management mode:" $DEVICES_LIST &&
Hm, one could boil that down to one conditional only...
More information about the SM-Commit