[Piuparts-commits] rev 78 - in trunk: . debian
Ana Beatriz Guerrero López
ana at alioth.debian.org
Wed Aug 29 10:09:05 UTC 2007
Author: ana
Date: 2007-08-29 10:09:05 +0000 (Wed, 29 Aug 2007)
New Revision: 78
Modified:
trunk/debian/changelog
trunk/piuparts.py
Log:
little bugfix
Modified: trunk/debian/changelog
===================================================================
--- trunk/debian/changelog 2007-08-28 13:22:00 UTC (rev 77)
+++ trunk/debian/changelog 2007-08-29 10:09:05 UTC (rev 78)
@@ -1,3 +1,9 @@
+piuparts (0.26) unstable; urgency=low
+
+ * ...
+
+ -- Ana Beatriz Guerrero Lopez <ana at debian.org> Tue, 28 Aug 2007 22:30:43 +0200
+
piuparts (0.25) unstable; urgency=low
* Add the option to run custom scripts inside the piuparts chroot.
Modified: trunk/piuparts.py
===================================================================
--- trunk/piuparts.py 2007-08-28 13:22:00 UTC (rev 77)
+++ trunk/piuparts.py 2007-08-29 10:09:05 UTC (rev 78)
@@ -652,7 +652,8 @@
self.remove_or_purge("remove", deps_to_remove + deps_to_purge +
nondeps_to_remove + nondeps_to_purge)
# Run custom scripts after remove all packages.
- self.run_scripts("post_remove")
+ if settings.scriptsdir is not None:
+ self.run_scripts("post_remove")
if not settings.skip_cronfiles_test:
cronfiles, cronfiles_list = self.check_if_cronfiles(packages)
@@ -666,8 +667,9 @@
# Finally, purge actual packages.
self.remove_or_purge("purge", nondeps_to_purge)
- # Run custom scripts after purge all packages.
- self.run_scripts("post_purge")
+ # Run custom scripts after purge all packages.
+ if settings.scriptsdir is not None:
+ self.run_scripts("post_purge")
# Now do a final run to see that everything worked.
self.run(["dpkg", "--purge", "--pending"])
More information about the Piuparts-commits
mailing list