available in
  git://github.com/anbe42/piuparts.git fix/628077-missing-post_install_

this obsoletes the patch sent earlier - the additional hooks will be
solved differently
----- 8< -----
Add missing post_install_* hook to install_packages_by_name().
(Closes: #628077)

Signed-off-by: Andreas Beckmann <deb...@abeckmann.de>
---
 piuparts.py |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/piuparts.py b/piuparts.py
index b78c69d..11cdad4 100644
--- a/piuparts.py
+++ b/piuparts.py
@@ -977,6 +977,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)
-- 
1.7.7.1




-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to