summaryrefslogtreecommitdiff
path: root/dh_installdeb
diff options
context:
space:
mode:
authorjoeyh <joeyh>2007-10-22 17:59:20 +0000
committerjoeyh <joeyh>2007-10-22 17:59:20 +0000
commit38751624f663abde81590eecdb70b1c6a4795ef8 (patch)
tree8ba0266e7724a5bf632b563e5f6a302012863dce /dh_installdeb
parent5401c28b2f86606463989b2b330565eba7d7ae98 (diff)
r2041: * dh_installdeb: Add support for dpkg triggers, by installing
debian/package.triggers files.
Diffstat (limited to 'dh_installdeb')
-rwxr-xr-xdh_installdeb3
1 files changed, 2 insertions, 1 deletions
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");