[Debian-live-changes] r1037 - dists/trunk/live-helper/helpers
Daniel Baumann
daniel at alioth.debian.org
Wed Apr 11 23:05:07 UTC 2007
Author: daniel
Date: 2007-04-11 23:05:07 +0000 (Wed, 11 Apr 2007)
New Revision: 1037
Modified:
dists/trunk/live-helper/helpers/lh_config
Log:
Modified: dists/trunk/live-helper/helpers/lh_config
===================================================================
--- dists/trunk/live-helper/helpers/lh_config 2007-04-11 22:56:52 UTC (rev 1036)
+++ dists/trunk/live-helper/helpers/lh_config 2007-04-11 23:05:07 UTC (rev 1037)
@@ -22,6 +22,8 @@
Arguments "${@}"
+CONFIG="${1}"
+
Echo_debug "Init ${PROGRAM}"
if [ -n "${LH_CONFIG}" ]
@@ -32,13 +34,13 @@
cp -r /usr/share/live-helper/configs/"${LH_CONFIG}" "${LH_CONFIG}"/config
LIVE_ROOT="${LH_CONFIG}"
- export LIVE_ROOT
+ CONFIG=""
else
Echo_error "Couldn't find config ${LH_CONFIG} in /usr/share/live-helper/configs/."
fi
fi
-if [ "${1}" != "newconfig" ] && [ -z "${LH_CONFIG}" ]
+if [ "${CONFIG}" != "newconfig" ]
then
# Source existing configuration
Read_conffile "${LIVE_ROOT}"/config/common
More information about the Debian-live-changes
mailing list