diff options
Diffstat (limited to 'dh_installchangelogs')
-rwxr-xr-x | dh_installchangelogs | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/dh_installchangelogs b/dh_installchangelogs index 40a68f3d..877aa822 100755 --- a/dh_installchangelogs +++ b/dh_installchangelogs @@ -39,15 +39,18 @@ foreach $PACKAGE (@{$dh{DOPACKAGES}}) { if (! -d "$TMP/usr/doc/$PACKAGE") { doit("install","-d","$TMP/usr/doc/$PACKAGE"); } - doit("install","-p","-m644",$changelog,"$TMP/usr/doc/$PACKAGE/$changelog_name"); + doit("install","-o","root","-g","root","-p","-m644",$changelog, + "$TMP/usr/doc/$PACKAGE/$changelog_name"); if ($upstream) { if ($upstream=~m/\.html?$/i) { # HTML changelog - doit("install","-p","-m644",$upstream,"$TMP/usr/doc/$PACKAGE/changelog.html"); + doit("install","-o","root","-g","root","-p","-m644", + $upstream,"$TMP/usr/doc/$PACKAGE/changelog.html"); } else { - doit("install","-p","-m644",$upstream,"$TMP/usr/doc/$PACKAGE/changelog"); + doit("install","-o","root","-g","root","-p","-m644", + $upstream,"$TMP/usr/doc/$PACKAGE/changelog"); } if ($dh{K_FLAG}) { # Install symlink to original name of the upstream changelog file. |