From 953a3d1af6f82d93af4fed3ce98160cf83f1e099 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Thu, 21 Feb 2008 20:46:49 +0100 Subject: Renaming extra bootstrap indices to chroot. --- helpers/lh_chroot_sources | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/helpers/lh_chroot_sources b/helpers/lh_chroot_sources index 6cb0b3e..2b4e8a2 100755 --- a/helpers/lh_chroot_sources +++ b/helpers/lh_chroot_sources @@ -71,12 +71,12 @@ case "${1}" in fi # Check local sources.list - if ls config/chroot_sources/*.bootstrap > /dev/null 2>&1 + if ls config/chroot_sources/*.chroot > /dev/null 2>&1 then echo "" >> chroot/etc/apt/sources.list echo "# Custom repositories" >> chroot/etc/apt/sources.list - for FILE in config/chroot_sources/*.bootstrap + for FILE in config/chroot_sources/*.chroot do cat ${FILE} | grep -v "^##" >> chroot/etc/apt/sources.list done @@ -126,9 +126,9 @@ case "${1}" in fi else # Get fresh indices # Check local gpg keys - if ls config/chroot_sources/*.bootstrap.gpg > /dev/null 2>&1 + if ls config/chroot_sources/*.chroot.gpg > /dev/null 2>&1 then - for FILE in config/chroot_sources/*.bootstrap.gpg + for FILE in config/chroot_sources/*.chroot.gpg do cp ${FILE} chroot/root Chroot "apt-key add /root/$(basename ${FILE})" -- cgit v1.0