From febfbc98572af4eba90ed90b2f8a65a8a2616311 Mon Sep 17 00:00:00 2001 From: Ashish Chaudhari Date: Fri, 24 Oct 2014 17:30:54 -0700 Subject: utils: Minor fixes in images downloader and packaging scripts --- host/utils/uhd_images_downloader.py.in | 3 +++ 1 file changed, 3 insertions(+) (limited to 'host') diff --git a/host/utils/uhd_images_downloader.py.in b/host/utils/uhd_images_downloader.py.in index 8a0754f49..5b16c7bb5 100644 --- a/host/utils/uhd_images_downloader.py.in +++ b/host/utils/uhd_images_downloader.py.in @@ -332,6 +332,9 @@ def main(): if options.verbose: print "Image archive extracted to: %s" % (extract_path) downloader.install_images(extract_path, images_dir, options.keep, print_progress=options.verbose) + if options.verbose: + print "Cleaning up temp location: %s" % (extract_path) + shutil.rmtree(extract_path) print print "Images successfully installed to: %s" % (images_dir) except Exception, e: -- cgit v1.2.3