summaryrefslogtreecommitdiff
path: root/scripts/build/chroot_preseed
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2012-12-31 10:18:36 +0100
committerDaniel Baumann <daniel@debian.org>2012-12-31 10:18:45 +0100
commite366eae5c3f6e1df2482c919faa78cce3aa66254 (patch)
tree81f4f0b8a13711788668d11d96518cc548cd186f /scripts/build/chroot_preseed
parentdb43ae0851663f8e5beba7d2396a46152dfc032f (diff)
downloadvyos-live-build-e366eae5c3f6e1df2482c919faa78cce3aa66254.tar.gz
vyos-live-build-e366eae5c3f6e1df2482c919faa78cce3aa66254.zip
Using .cfg suffix for consistency with debian-installer on preseed files in config/preseed.
Diffstat (limited to 'scripts/build/chroot_preseed')
-rwxr-xr-xscripts/build/chroot_preseed6
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/build/chroot_preseed b/scripts/build/chroot_preseed
index 1a70340d8..ca474128a 100755
--- a/scripts/build/chroot_preseed
+++ b/scripts/build/chroot_preseed
@@ -38,8 +38,8 @@ Check_lockfile .lock
# Creating lock file
Create_lockfile .lock
-if ls config/preseed/*.preseed > /dev/null 2>&1 || \
- ls config/preseed/*.preseed.chroot > /dev/null 2>&1 || \
+if ls config/preseed/*.cfg > /dev/null 2>&1 || \
+ ls config/preseed/*.cfg.chroot > /dev/null 2>&1 || \
ls chroot/root/packages.chroot.cfg > /dev/null 2>&1
then
# Check dependency
@@ -48,7 +48,7 @@ then
# Install dependency
Install_package
- for PRESEED in config/preseed/*.preseed config/preseed/*.preseed.chroot chroot/root/packages.chroot.cfg
+ for PRESEED in config/preseed/*.cfg config/preseed/*.cfg.chroot chroot/root/packages.chroot.cfg
do
if [ -e "${PRESEED}" ]
then