Simplifying package cache stanza in python bootstrap stubs.

This commit is contained in:
Daniel Baumann 2013-11-04 09:44:01 +01:00
parent 0aa8289a37
commit 1a33b7a585
2 changed files with 4 additions and 2 deletions

View File

@ -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')

View File

@ -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')