From 6b1d9f2ab858be811bff09908ca75fb786a7780c Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Thu, 19 Nov 2009 06:46:02 +0100 Subject: Adding suffix .list to sources.list.d snipplets. --- 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 fc8d193..605dd80 100755 --- a/helpers/lh_chroot_sources +++ b/helpers/lh_chroot_sources @@ -83,14 +83,14 @@ case "${1}" in then for FILE in config/chroot_sources/*.binary do - rm -f "chroot/etc/apt/sources.list.d/$(basename ${FILE} .binary)" + rm -f "chroot/etc/apt/sources.list.d/$(basename ${FILE} .binary).list" done fi # Configure new sources.list snipplets for FILE in config/chroot_sources/*.chroot do - cp "${FILE}" "chroot/etc/apt/sources.list.d/$(basename ${FILE} .chroot)" + cp "${FILE}" "chroot/etc/apt/sources.list.d/$(basename ${FILE} .chroot).list" done fi @@ -413,14 +413,14 @@ case "${1}" in then for FILE in config/chroot_sources/*.chroot do - rm -f "chroot/etc/apt/sources.list.d/$(basename ${FILE} .chroot)" + rm -f "chroot/etc/apt/sources.list.d/$(basename ${FILE} .chroot).list" done fi # Configure new sources.list snipplets for FILE in config/chroot_sources/*.binary do - cp "${FILE}" "chroot/etc/apt/sources.list.d/$(basename ${FILE} .binary)" + cp "${FILE}" "chroot/etc/apt/sources.list.d/$(basename ${FILE} .binary).list" done fi -- cgit v1.0