summaryrefslogtreecommitdiff
path: root/scripts/build/lb_chroot_local-packagelists
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2011-08-05 08:40:03 +0200
committerDaniel Baumann <daniel@debian.org>2011-08-05 08:40:03 +0200
commit8a0da5726657de9024197bdb4c17f35423199a0a (patch)
treef70338ab1a5ef5dcb1d7278159da60252214d4d1 /scripts/build/lb_chroot_local-packagelists
parenta51393f49bb455b52959eb7e3c6047f6d300ce85 (diff)
downloadvyos-live-build-8a0da5726657de9024197bdb4c17f35423199a0a.tar.gz
vyos-live-build-8a0da5726657de9024197bdb4c17f35423199a0a.zip
Reverse keywords in suffix of the package list files for consistency.
Previously, config/package-lists/foo.{binary,chroot}.list was used, now we use config/package-lists/foo.list.{binary,chroot}. That way, we're using the same single suffix for all files to make them specific for either binary and chroot, rather than having an exception to the rule for package list files.
Diffstat (limited to 'scripts/build/lb_chroot_local-packagelists')
-rwxr-xr-xscripts/build/lb_chroot_local-packagelists6
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/build/lb_chroot_local-packagelists b/scripts/build/lb_chroot_local-packagelists
index a2160be73..eb93af953 100755
--- a/scripts/build/lb_chroot_local-packagelists
+++ b/scripts/build/lb_chroot_local-packagelists
@@ -41,10 +41,10 @@ Check_lockfile .lock
# Creating lock file
Create_lockfile .lock
-if ls config/package-lists/*.chroot.list > /dev/null 2>&1 || \
- ls config/package-lists/*.chroot_${_PASS}.list > /dev/null 2>&1
+if ls config/package-lists/*.list.chroot > /dev/null 2>&1 || \
+ ls config/package-lists/*.list.chroot_${_PASS} > /dev/null 2>&1
then
- for LIST in config/package-lists/*.chroot.list config/package-lists/*.chroot_${_PASS}.list
+ for LIST in config/package-lists/*.list.chroot config/package-lists/*.list.chroot_${_PASS}
do
if [ -e "${LIST}" ]
then