From 580bc09d41ddc8542515f50d40ff8c8477711d3d Mon Sep 17 00:00:00 2001 From: Niels Thykier Date: Sun, 2 Oct 2016 20:41:26 +0000 Subject: Dh_Lib: Add a reset_perm_and_owner function Signed-off-by: Niels Thykier --- dh_installdeb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'dh_installdeb') 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"); } } } -- cgit v1.2.3