sm-commit AT lists.ibiblio.org
Subject: Source Mage code commit list
List archive
Re: [SM-Commit] GIT changes to stable-rc-0.6 grimoire by Jaka Kranjc (0bfbb4baa136828b92e854e50a0a0048f27785c4)
- From: Thomas Orgis <thomas-forum AT orgis.org>
- To: sm-commit AT lists.ibiblio.org
- Subject: Re: [SM-Commit] GIT changes to stable-rc-0.6 grimoire by Jaka Kranjc (0bfbb4baa136828b92e854e50a0a0048f27785c4)
- Date: Wed, 10 Jan 2007 15:57:21 +0100
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
. "$INSTALL_ROOT/etc/sysconfig/devices"
fi &&
if [[ "$DEVICES" ]]; then
DEVICES_LIST="$DEVICES ${DEVICES_LIST/$DEVICES/}"
fi &&
config_query_list DEVICES "Choose /dev management mode:" $DEVICES_LIST &&
Hm, one could boil that down to one conditional only...
-
[SM-Commit] GIT changes to stable-rc-0.6 grimoire by Jaka Kranjc (0bfbb4baa136828b92e854e50a0a0048f27785c4),
Jaka Kranjc, 01/09/2007
-
Re: [SM-Commit] GIT changes to stable-rc-0.6 grimoire by Jaka Kranjc (0bfbb4baa136828b92e854e50a0a0048f27785c4),
Thomas Orgis, 01/10/2007
-
Re: [SM-Commit] GIT changes to stable-rc-0.6 grimoire by Jaka Kranjc (0bfbb4baa136828b92e854e50a0a0048f27785c4),
Jaka Kranjc, 01/10/2007
-
Re: [SM-Commit] GIT changes to stable-rc-0.6 grimoire by Jaka Kranjc (0bfbb4baa136828b92e854e50a0a0048f27785c4),
Thomas Orgis, 01/10/2007
-
Re: [SM-Commit] GIT changes to stable-rc-0.6 grimoire by Jaka Kranjc (0bfbb4baa136828b92e854e50a0a0048f27785c4),
Jaka Kranjc, 01/10/2007
- Re: [SM-Commit] GIT changes to stable-rc-0.6 grimoire by Jaka Kranjc (0bfbb4baa136828b92e854e50a0a0048f27785c4), Thomas Orgis, 01/10/2007
-
Re: [SM-Commit] GIT changes to stable-rc-0.6 grimoire by Jaka Kranjc (0bfbb4baa136828b92e854e50a0a0048f27785c4),
Jaka Kranjc, 01/10/2007
-
Re: [SM-Commit] GIT changes to stable-rc-0.6 grimoire by Jaka Kranjc (0bfbb4baa136828b92e854e50a0a0048f27785c4),
Thomas Orgis, 01/10/2007
-
Re: [SM-Commit] GIT changes to stable-rc-0.6 grimoire by Jaka Kranjc (0bfbb4baa136828b92e854e50a0a0048f27785c4),
Jaka Kranjc, 01/10/2007
-
Re: [SM-Commit] GIT changes to stable-rc-0.6 grimoire by Jaka Kranjc (0bfbb4baa136828b92e854e50a0a0048f27785c4),
Thomas Orgis, 01/10/2007
Archive powered by MHonArc 2.6.24.