[SCM] live-initramfs branch, master, updated. debian/1.157.4-2-37-ga19352d

Daniel Baumann daniel at debian.org
Sun Jan 31 13:20:14 UTC 2010


The following commit has been merged in the master branch:
commit b6445296457866e87277581c874759a72f7f2fd4
Author: Ben Armstrong <synrg at debian.org>
Date:   Sun Jan 31 14:13:21 2010 +0100

    Only edit usplash init script if it exists.

diff --git a/scripts/live-bottom/19keyboard b/scripts/live-bottom/19keyboard
index 658e44a..52a6a58 100755
--- a/scripts/live-bottom/19keyboard
+++ b/scripts/live-bottom/19keyboard
@@ -104,7 +104,10 @@ then
 		live-preseed /root console-setup/optionscode '' false
 		live-preseed /root console-setup/codesetcode '' false
 
-		sed -i 's/CONSOLE_SCREEN=$/CONSOLE_SCREEN=setupcon/; t END; b; : END; n; b END' /root/etc/init.d/usplash
+		if [ -f /root/etc/init.d/usplash ]
+		then
+			sed -i 's/CONSOLE_SCREEN=$/CONSOLE_SCREEN=setupcon/; t END; b; : END; n; b END' /root/etc/init.d/usplash
+		fi
 	fi
 elif [ -e /root/usr/sbin/install-keymap ]
 then

-- 
live-initramfs



More information about the debian-live-changes mailing list