[Debian-live-changes] r2401 - in dists/trunk/live-helper: docs helpers
otavio at alioth.debian.org
otavio at alioth.debian.org
Wed Jul 4 22:42:15 UTC 2007
Author: otavio
Date: 2007-07-04 22:42:15 +0000 (Wed, 04 Jul 2007)
New Revision: 2401
Modified:
dists/trunk/live-helper/docs/ChangeLog
dists/trunk/live-helper/helpers/lh_binary_hacks
Log:
helpers/lh_binary_hacks: Do not fail if binary/parameters.txt.${LH_INITRAMFS} doesn't exists
Modified: dists/trunk/live-helper/docs/ChangeLog
===================================================================
--- dists/trunk/live-helper/docs/ChangeLog 2007-07-04 15:47:13 UTC (rev 2400)
+++ dists/trunk/live-helper/docs/ChangeLog 2007-07-04 22:42:15 UTC (rev 2401)
@@ -1,5 +1,8 @@
2007-07-04 Otavio Salvador <otavio at debian.org>
+ * helpers/lh_binary_hacks:
+ - Do not fail if binary/parameters.txt.${LH_INITRAMFS} doesn't
+ exists.
* hooks/mini, hooks/minimal:
- Do not fail if the package isn't installed.
Modified: dists/trunk/live-helper/helpers/lh_binary_hacks
===================================================================
--- dists/trunk/live-helper/helpers/lh_binary_hacks 2007-07-04 15:47:13 UTC (rev 2400)
+++ dists/trunk/live-helper/helpers/lh_binary_hacks 2007-07-04 22:42:15 UTC (rev 2401)
@@ -47,7 +47,10 @@
Create_lockfile .lock
# Removing live-initramfs docs
-mv binary/parameters.txt.${LH_INITRAMFS} binary/parameters.txt
+if [ -e binary/parameters.txt.${LH_INITRAMFS} ]
+then
+ mv binary/parameters.txt.${LH_INITRAMFS} binary/parameters.txt
+fi
rm -f binary/parameters.txt.*
# Creating stage file
More information about the Debian-live-changes
mailing list