From 38751624f663abde81590eecdb70b1c6a4795ef8 Mon Sep 17 00:00:00 2001 From: joeyh Date: Mon, 22 Oct 2007 17:59:20 +0000 Subject: r2041: * dh_installdeb: Add support for dpkg triggers, by installing debian/package.triggers files. --- dh_installdeb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'dh_installdeb') diff --git a/dh_installdeb b/dh_installdeb index a3cd68ff..fdc76e60 100755 --- a/dh_installdeb +++ b/dh_installdeb @@ -27,6 +27,7 @@ the DEBIAN directory: package.prerm package.shlibs package.conffiles + package.triggers The postinst, preinst, postrm, and prerm are handled specially: If a corresponding file named debian/package.script.debhelper exists, the contents @@ -68,7 +69,7 @@ foreach my $package (@{$dh{DOPACKAGES}}) { if (! is_udeb($package)) { # Install non-executable files - foreach my $file (qw{shlibs conffiles}) { + foreach my $file (qw{shlibs conffiles triggers}) { my $f=pkgfile($package,$file); if ($f) { doit("install","-o",0,"-g",0,"-m",644,"-p",$f,"$tmp/DEBIAN/$file"); -- cgit v1.2.3