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

Daniel Baumann daniel at debian.org
Mon Sep 6 13:36:51 UTC 2010


The following commit has been merged in the debian branch:
commit b368bacc8b98317714af95f73b10f57ba7d4c9aa
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