summaryrefslogtreecommitdiff
path: root/dh_installdeb
diff options
context:
space:
mode:
authorNiels Thykier <niels@thykier.net>2016-10-02 20:41:26 +0000
committerNiels Thykier <niels@thykier.net>2016-10-02 20:41:26 +0000
commit580bc09d41ddc8542515f50d40ff8c8477711d3d (patch)
tree7d7a119f256da70068de3280e3657e5b2f616c96 /dh_installdeb
parentf1757dd5d915e567d2cd1f09e3811c2673ad1867 (diff)
Dh_Lib: Add a reset_perm_and_owner function
Signed-off-by: Niels Thykier <niels@thykier.net>
Diffstat (limited to 'dh_installdeb')
-rwxr-xr-xdh_installdeb2
1 files changed, 1 insertions, 1 deletions
diff --git a/dh_installdeb b/dh_installdeb
index 7ba846c2..0507617e 100755
--- a/dh_installdeb
+++ b/dh_installdeb
@@ -182,7 +182,7 @@ foreach my $package (@{$dh{DOPACKAGES}}) {
doit("rm","-f","$tmp/DEBIAN/conffiles");
}
else {
- doit("chmod","0644","$tmp/DEBIAN/conffiles");
+ reset_perm_and_owner('0644', "$tmp/DEBIAN/conffiles");
}
}
}