summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xcomponents/bootstrap_cdebootstrap3
-rwxr-xr-xcomponents/bootstrap_debootstrap3
2 files changed, 4 insertions, 2 deletions
diff --git a/components/bootstrap_cdebootstrap b/components/bootstrap_cdebootstrap
index 75c7b41bb..fc0b663d6 100755
--- a/components/bootstrap_cdebootstrap
+++ b/components/bootstrap_cdebootstrap
@@ -105,8 +105,9 @@ def main():
print('I: use \'lb clean\' to clean up a previously incomplete build')
sys.exit(1)
+
# packages cache
- elif glob.glob('cache/packages.bootstrap/*.deb'):
+ if glob.glob('cache/packages.bootstrap/*.deb'):
if verbose:
print('I: Copying cache/packages.bootstrap/*.deb to chroot/var/cache/bootstrap/*.deb')
diff --git a/components/bootstrap_debootstrap b/components/bootstrap_debootstrap
index 74805c6e5..2f5c128e7 100755
--- a/components/bootstrap_debootstrap
+++ b/components/bootstrap_debootstrap
@@ -110,8 +110,9 @@ def main():
print('I: use \'lb clean\' to clean up a previously incomplete build')
sys.exit(1)
+
# packages cache
- elif glob.glob('cache/packages.bootstrap/*.deb'):
+ if glob.glob('cache/packages.bootstrap/*.deb'):
if verbose:
print('I: Copying cache/packages.bootstrap/*.deb to chroot/var/cache/apt/archives/*.deb')