summaryrefslogtreecommitdiff
path: root/helpers/lh_chroot_local-packages
diff options
context:
space:
mode:
Diffstat (limited to 'helpers/lh_chroot_local-packages')
-rwxr-xr-xhelpers/lh_chroot_local-packages2
1 files changed, 1 insertions, 1 deletions
diff --git a/helpers/lh_chroot_local-packages b/helpers/lh_chroot_local-packages
index 5b5800f..1ea7c73 100755
--- a/helpers/lh_chroot_local-packages
+++ b/helpers/lh_chroot_local-packages
@@ -42,7 +42,7 @@ Check_lockfile .lock
# Creating lock file
Create_lockfile .lock
-if ls chroot/root/local-packages/*.deb > /dev/null 2>&1
+if Find_files chroot/root/local-packages/*.deb
then
gunzip < chroot/root/local-packages/Packages.gz | awk '/^Package: / { print $2 }' \
>> chroot/root/chroot_packages