[SCM] live-config branch, debian, updated. debian/2.0.5-1-4-g0e8ffeb

Daniel Baumann daniel at debian.org
Wed Sep 15 10:05:57 UTC 2010


The following commit has been merged in the debian branch:
commit 0e8ffeb4c584ad638d9bb77aa9d74b9ace603549
Author: Daniel Baumann <daniel at debian.org>
Date:   Wed Sep 15 12:03:18 2010 +0200

    Renaming xinit.sh to zz-xinit.sh in /etc/profile.d to ensure it is run last.

diff --git a/scripts/config/012-xinit b/scripts/config/012-xinit
index e920aee..fa1dbc5 100755
--- a/scripts/config/012-xinit
+++ b/scripts/config/012-xinit
@@ -26,7 +26,7 @@ Xinit ()
 Configure_xinit ()
 {
 	# Checking if if package is already configured differently
-	if [ -e /etc/profile.d/xinit.sh ] || grep -qs "startx" /etc/skel/.bash_profile
+	if [ -e /etc/profile.d/zz-xinit.sh ] || grep -qs "startx" /etc/skel/.bash_profile
 	then
 		return
 	fi
@@ -35,7 +35,7 @@ Configure_xinit ()
 	then
 
 # squeeze
-cat > /etc/profile.d/xinit.sh << EOF
+cat > /etc/profile.d/zz-xinit.sh << EOF
 if [ -z "\${DISPLAY}" ] && [ \$(tty) = /dev/tty1 ]
 then
 	while true

-- 
live-config



More information about the debian-live-changes mailing list