From: Perforce Review Daemon <p4review AT smee.org>
To: "Andrew Stitt" <a AT t.armory.com>, "Arjan Bouter" <abouter AT sourcemage.org>, "SM-Commit Daemon" <sm-commit AT lists.ibiblio.org>, "David Michael Leo Brown Jr." <dmlb2000 AT gmail.com>, "duane_malcolm" <d.malcolm AT auckland.ac.nz>, "Ethan Grammatikidis" <eekee AT eekee.is-a-geek.org>, "Gareth Clay" <gareth AT caffeinefuelled.co.uk>, "Ladislav Hagara" <ladislav.hagara AT unob.cz>, "Maurizio Boriani" <baux AT member.fsf.org>, "Pieter Lenaerts" <e-type AT sourcemage.org>, "Robin Cook" <rcook AT wyrms.net>, "Seth Woolley" <seth AT swoolley.homeip.net>, "Unet" <unet AT sourcemage.org>, "vladimir_marek" <vlmarek AT volny.cz>
Subject: [SM-Commit] PERFORCE change 78581 by Jeremy Blosser for review
Date: Fri, 28 Apr 2006 14:45:01 +0100 (BST)
Change 78581 by jeremy_blosser@jeremy_blosser-shale on 2006/04/28 14:40:07
@@ -1,3 +1,7 @@
+2006-04-28 Jeremy Blosser <jblosser-smgl AT firinn.org>
+ * PREPARE, UP_TRIGGERS: Make sure
+ $INSTALL_ROOT/etc/sysconfig/facilities exists before grepping it.
+
2006-04-13 Juuso Alasuutari <iuso AT sourcemage.org>
* INSTALL: Changed cp to install_config_file
@@ -1,7 +1,9 @@
# Kludge to make sure the prompts to set the default providers for the new
(in
# init.d 2.2.0) facilities default to "y" the first time so we don't make
# systems unbootable after an unattended update. Remove during
stable-rc/0.7.
-if ! grep -q "modules" /etc/sysconfig/facilities ; then
- echo -e "\nmodules=modutils" >>/etc/sysconfig/facilities
+if [ -r $INSTALL_ROOT/etc/sysconfig/facilities ] && \
+ ! grep -q "modules" $INSTALL_ROOT/etc/sysconfig/facilities
+then
+ echo -e "\nmodules=modutils" >> $INSTALL_ROOT/etc/sysconfig/facilities
fi
@@ -1,3 +1,7 @@
+2006-04-28 Jeremy Blosser <jblosser-smgl AT firinn.org>
+ * UP_TRIGGERS: Make sure $INSTALL_ROOT/etc/sysconfig/facilities exists
+ before grepping it.
+
2006-04-22 Jeremy Blosser <jblosser-smgl AT firinn.org>
* PREPARE: Make sure $INSTALL_ROOT/etc/sysconfig/facilities exists
before grepping it.