diff options
author | Daniel Baumann <daniel@debian.org> | 2012-12-31 10:18:36 +0100 |
---|---|---|
committer | Daniel Baumann <mail@daniel-baumann.ch> | 2013-05-06 14:50:03 +0200 |
commit | eba66925cc8e9199a014952d664999cb3f2ebb33 (patch) | |
tree | 2ce6b91fd542dfbdda1f23f165766da9ecf03d3f | |
parent | 2eba55644329e85693bddada2226ac8c66713896 (diff) | |
download | vyos-live-build-eba66925cc8e9199a014952d664999cb3f2ebb33.tar.gz vyos-live-build-eba66925cc8e9199a014952d664999cb3f2ebb33.zip |
Using .cfg suffix for consistency with debian-installer on preseed files in config/preseed.
-rwxr-xr-x | scripts/build/chroot_preseed | 6 |
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 |