[SCM] live-config branch, debian-next, updated. debian/3.0_a5-1-1-g768e51d

Daniel Baumann daniel at debian.org
Fri Sep 3 11:51:12 UTC 2010


The following commit has been merged in the debian-next branch:
commit 768e51d165425ee583fe7de6fbd812f3b77d9291
Author: Daniel Baumann <daniel at debian.org>
Date:   Fri Sep 3 13:48:40 2010 +0200

    Disabling kaboom in user context.

diff --git a/scripts/config/106-kaboom b/scripts/config/106-kaboom
index 4ddde63..6c011d3 100755
--- a/scripts/config/106-kaboom
+++ b/scripts/config/106-kaboom
@@ -24,8 +24,7 @@ Kaboom ()
 
 Configure_kaboom ()
 {
-	mkdir -p /home/${LIVE_USERNAME}/.local
-	touch /home/${LIVE_USERNAME}/.local/kaboom
+	sudo -u "${LIVE_USERNAME}" sh -c "mkdir -p /home/${LIVE_USERNAME}/.local && touch /home/${LIVE_USERNAME}/.local/kaboom"
 
 	# Creating state file
 	touch /var/lib/live/config/kaboom

-- 
live-config



More information about the debian-live-changes mailing list