[Piuparts-commits] [SCM] piuparts git repository branch, master, updated. eda668423fa87898c59d1075118693714aa5a053

Holger Levsen holger at layer-acht.org
Fri Dec 23 10:26:30 UTC 2011


The following commit has been merged in the master branch:
commit 956906957f7a00eb6d88589943fb0a14c970e5f2
Author: Andreas Beckmann <debian at abeckmann.de>
Date:   Wed Nov 9 14:02:23 2011 +0100

    add missing post_install hook
    
    Add missing post_install_* hook to install_packages_by_name().
    (Closes: #628077)
    
    Signed-off-by: Andreas Beckmann <debian at abeckmann.de>

diff --git a/piuparts.py b/piuparts.py
index c30eb68..f208be3 100644
--- a/piuparts.py
+++ b/piuparts.py
@@ -1116,6 +1116,9 @@ class Chroot:
             else:
                 self.run(["apt-get", "-y", "install"] + packages)
 
+            self.run_scripts("post_install")
+
+
     def check_for_no_processes(self):
         """Check there are no processes running inside the chroot."""
         (status, output) = run(["lsof", "-w", "+D", self.name], ignore_errors=True)

-- 
piuparts git repository



More information about the Piuparts-commits mailing list