From 1a33b7a5851f8b2e27c96c05e765ff66c3a91c51 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Mon, 4 Nov 2013 09:44:01 +0100 Subject: Simplifying package cache stanza in python bootstrap stubs. --- components/bootstrap_cdebootstrap | 3 ++- components/bootstrap_debootstrap | 3 ++- 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') -- cgit v1.2.3