[Apt-offline-devel] [SCM] Offline APT Package Manager branch, master, updated. 0.9.6-34-g40de43b
Ritesh Raj Sarraf
rrs at researchut.com
Mon Mar 15 12:04:17 UTC 2010
The following commit has been merged in the master branch:
commit 942259c57a4abff4edb261a71ba0b9348512c6ce
Author: Ritesh Raj Sarraf <rrs at researchut.com>
Date: Mon Mar 15 17:08:34 2010 +0530
exit clean only if true
diff --git a/apt_offline_core/AptOfflineCoreLib.py b/apt_offline_core/AptOfflineCoreLib.py
index 677da07..37e2539 100644
--- a/apt_offline_core/AptOfflineCoreLib.py
+++ b/apt_offline_core/AptOfflineCoreLib.py
@@ -1187,6 +1187,9 @@ def installer( args ):
elif response.startswith( 'y' ) or response.startswith( 'Y' ):
if DirInstallPackages(install_file_path) is True:
sys.exit(0)
+ else:
+ log.err("Failed during install operation on %s.\n" % (install_file_path) )
+ sys.exit(1)
elif response.startswith( 'n' ) or response.startswith( 'N' ):
log.err( "Exiting gracefully on user request.\n\n" )
--
Offline APT Package Manager
More information about the Apt-offline-devel
mailing list