summaryrefslogtreecommitdiff
path: root/helpers/lh_chroot_sources
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2009-11-19 06:46:02 +0100
committerDaniel Baumann <daniel@debian.org>2011-03-09 19:17:02 +0100
commit6b1d9f2ab858be811bff09908ca75fb786a7780c (patch)
tree4415f0fde28173868a5815e73c8d8233d324830e /helpers/lh_chroot_sources
parent231ba7d1606b33ffce1ff0db02fb3dfdb805e5d6 (diff)
downloadvyos-live-build-6b1d9f2ab858be811bff09908ca75fb786a7780c.tar.gz
vyos-live-build-6b1d9f2ab858be811bff09908ca75fb786a7780c.zip
Adding suffix .list to sources.list.d snipplets.
Diffstat (limited to 'helpers/lh_chroot_sources')
-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