summaryrefslogtreecommitdiff
path: root/helpers/lh_chroot_sources
diff options
context:
space:
mode:
Diffstat (limited to 'helpers/lh_chroot_sources')
-rwxr-xr-xhelpers/lh_chroot_sources10
1 files changed, 5 insertions, 5 deletions
diff --git a/helpers/lh_chroot_sources b/helpers/lh_chroot_sources
index 866be3e..681d721 100755
--- a/helpers/lh_chroot_sources
+++ b/helpers/lh_chroot_sources
@@ -116,13 +116,13 @@ case "${1}" in
echo "cd /root/local-packages && apt-ftparchive packages . > Packages" | Chroot sh
gzip -9 -c chroot/root/local-packages/Packages > chroot/root/local-packages/Packages.gz
+ # Generate Release
+ echo "cd /root/local-packages && apt-ftparchive \
+ -o APT::FTPArchive::Release::Origin=chroot_local-packages \
+ release . > Release" | Chroot sh
+
if [ "${LH_APT_SECURE}" = "enabled" ]
then
- # Generate Release
- echo "cd /root/local-packages && apt-ftparchive \
- -o APT::FTPArchive::Release::Origin=chroot_local-packages \
- release . > Release" | Chroot sh
-
_LH_DOTGNUPG_EXISTED=0
if [ -d chroot/root/.gnupg ]
then