[SCM] debian-live branch, master, updated. 1.0_a48-1-2-g5d2cdbe

Daniel Baumann daniel at debian.org
Tue Jul 15 07:40:57 UTC 2008


The following commit has been merged in the master branch:
commit e8f45391ba47927fdc022e84408945ec7067ba0e
Author: Daniel Baumann <daniel at debian.org>
Date:   Tue Jul 15 09:32:30 2008 +0200

    Using better suited variable name for live-helpers local key.

diff --git a/helpers/lh_chroot_sources b/helpers/lh_chroot_sources
index a355ace..f5bdb13 100755
--- a/helpers/lh_chroot_sources
+++ b/helpers/lh_chroot_sources
@@ -31,7 +31,7 @@ Set_defaults
 # Requiring stage file
 Require_stagefile .stage/bootstrap
 
-_LH_DUMMY_KEY_EMAIL="live-helper-local-key at dummy"
+_LH_LOCAL_KEY_EMAIL="live-helper-local-key at dummy"
 
 case "${1}" in
 	install)
@@ -143,7 +143,7 @@ case "${1}" in
 						      Subkey-Type: ELG-E
 						      Subkey-Length: 1024
 						      Name-Real: live-helper local packages key
-						      Name-Email: ${_LH_DUMMY_KEY_EMAIL}
+						      Name-Email: ${_LH_LOCAL_KEY_EMAIL}
 						      Expire-Date: 0
 						      %secring /root/local-package-keyring.sec
 						      %pubring /root/local-package-keyring.pub
@@ -173,7 +173,7 @@ case "${1}" in
 					# Import key
 					Chroot "gpg --no-default-keyring --secret-keyring /root/local-package-keyring.sec \
 						--keyring /root/local-package-keyring.pub --armor \
-						--export ${_LH_DUMMY_KEY_EMAIL}" | Chroot "apt-key add -"
+						--export ${_LH_LOCAL_KEY_EMAIL}" | Chroot "apt-key add -"
 
 					# Remove temporary keyrings
 					rm chroot/root/local-package-keyring.pub
@@ -398,9 +398,9 @@ case "${1}" in
 		rm -rf chroot/root/local-packages
 
 		# Remove local packages key if it exists
-		if apt-key list | grep -q ${_LH_DUMMY_KEY_EMAIL}
+		if apt-key list | grep -q ${_LH_LOCAL_KEY_EMAIL}
 		then
-			apt-key del ${_LH_DUMMY_KEY_EMAIL}
+			apt-key del ${_LH_LOCAL_KEY_EMAIL}
 		fi
 
 		# Removing stage file

-- 
debian-live



More information about the debian-live-changes mailing list