diff options
Diffstat (limited to 'host/utils/uhd_images_downloader.py.in')
-rw-r--r-- | host/utils/uhd_images_downloader.py.in | 3 |
1 files changed, 3 insertions, 0 deletions
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: |