[Debian-live-changes] r1865 - dists/trunk/live-helper/helpers

daniel at alioth.debian.org daniel at alioth.debian.org
Tue May 29 08:27:50 UTC 2007


Author: daniel
Date: 2007-05-29 08:27:50 +0000 (Tue, 29 May 2007)
New Revision: 1865

Modified:
   dists/trunk/live-helper/helpers/lh_chroot_symlinks
Log:


Modified: dists/trunk/live-helper/helpers/lh_chroot_symlinks
===================================================================
--- dists/trunk/live-helper/helpers/lh_chroot_symlinks	2007-05-29 08:25:35 UTC (rev 1864)
+++ dists/trunk/live-helper/helpers/lh_chroot_symlinks	2007-05-29 08:27:50 UTC (rev 1865)
@@ -30,6 +30,11 @@
 Read_conffile config/source
 Set_defaults
 
+if [ "${LIVE_SYMLINKS}" != "enabled" ]
+then
+	exit 0
+fi
+
 Echo_message "Begin converting symlinks..."
 
 # Requiring stage file
@@ -44,20 +49,17 @@
 # Creating lock file
 Create_lockfile .lock
 
-if [ "${LIVE_SYMLINKS}" = "enabled" ]
-then
-	# Checking depends
-	Check_package chroot/usr/bin/symlinks symlinks
+# Checking depends
+Check_package chroot/usr/bin/symlinks symlinks
 
-	# Installing depends
-	Install_package
+# Installing depends
+Install_package
 
-	# Converting symlinks
-	Chroot "symlinks -c -r -s /"
+# Converting symlinks
+Chroot "symlinks -c -r -s /"
 
-	# Removing depends
-	Remove_package
+# Removing depends
+Remove_package
 
-	# Creating stage file
-	Create_stagefile .stage/chroot_symlinks
-fi
+# Creating stage file
+Create_stagefile .stage/chroot_symlinks




More information about the Debian-live-changes mailing list