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

daniel at alioth.debian.org daniel at alioth.debian.org
Sun Jul 1 11:36:44 UTC 2007


Author: daniel
Date: 2007-07-01 11:36:44 +0000 (Sun, 01 Jul 2007)
New Revision: 2319

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


Modified: dists/trunk/live-helper/helpers/lh_chroot_hostname
===================================================================
--- dists/trunk/live-helper/helpers/lh_chroot_hostname	2007-07-01 11:06:50 UTC (rev 2318)
+++ dists/trunk/live-helper/helpers/lh_chroot_hostname	2007-07-01 11:36:44 UTC (rev 2319)
@@ -83,7 +83,10 @@
 		fi
 
 		# Set hostname (somehow this seems to be really needed :/)
-		hostname -F /etc/hostname
+		if [ -f /etc/hostname ]
+		then
+			hostname -F /etc/hostname
+		fi
 
 		# Removing stage file
 		rm -f .stage/chroot_hostname




More information about the Debian-live-changes mailing list