summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2009-11-19 06:46:02 +0100
committerDaniel Baumann <daniel@debian.org>2009-11-22 14:45:41 +0100
commitefe442f24a46fb1435db5ee5b00ef553c3121007 (patch)
tree4415f0fde28173868a5815e73c8d8233d324830e
parent856db7bbeb72a9f6feb824481aea7f632bdaa2a3 (diff)
downloadvyos-live-build-efe442f24a46fb1435db5ee5b00ef553c3121007.tar.gz
vyos-live-build-efe442f24a46fb1435db5ee5b00ef553c3121007.zip
Adding suffix .list to sources.list.d snipplets.
-rwxr-xr-xhelpers/lh_chroot_sources8
1 files changed, 4 insertions, 4 deletions
diff --git a/helpers/lh_chroot_sources b/helpers/lh_chroot_sources
index fc8d193b2..605dd8024 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