summaryrefslogtreecommitdiff
path: root/scripts/build/chroot_preseed
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/build/chroot_preseed')
-rwxr-xr-xscripts/build/chroot_preseed8
1 files changed, 4 insertions, 4 deletions
diff --git a/scripts/build/chroot_preseed b/scripts/build/chroot_preseed
index 77e94c9c2..1a70340d8 100755
--- a/scripts/build/chroot_preseed
+++ b/scripts/build/chroot_preseed
@@ -1,7 +1,7 @@
#!/bin/sh
## live-build(7) - System Build Scripts
-## Copyright (C) 2006-2013 Daniel Baumann <daniel@debian.org>
+## Copyright (C) 2006-2012 Daniel Baumann <daniel@debian.org>
##
## This program comes with ABSOLUTELY NO WARRANTY; for details see COPYING.
## This is free software, and you are welcome to redistribute it
@@ -38,8 +38,8 @@ Check_lockfile .lock
# Creating lock file
Create_lockfile .lock
-if ls config/preseed/*.cfg > /dev/null 2>&1 || \
- ls config/preseed/*.cfg.chroot > /dev/null 2>&1 || \
+if ls config/preseed/*.preseed > /dev/null 2>&1 || \
+ ls config/preseed/*.preseed.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/*.cfg config/preseed/*.cfg.chroot chroot/root/packages.chroot.cfg
+ for PRESEED in config/preseed/*.preseed config/preseed/*.preseed.chroot chroot/root/packages.chroot.cfg
do
if [ -e "${PRESEED}" ]
then