[SCM] live-config branch, debian-old-2.0, updated. debian/2.0.4-1-1-gb368bac

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


The following commit has been merged in the debian-old-2.0 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