diff options
author | joey <joey> | 1999-11-04 23:51:29 +0000 |
---|---|---|
committer | joey <joey> | 1999-11-04 23:51:29 +0000 |
commit | ce53cf82751a1711e02152b25ac2f14810e0e020 (patch) | |
tree | 6a72250edd27229e15528f0f7021b2e7d1bd6d77 /dh_installdocs | |
parent | 067a26d8a40fa40003e0c9b2dfbfa76af71bf59e (diff) |
r302: * dh_shlibdeps: added -l option, which lets you specify a path that
LD_LIBRARY_PATH is then set to when dpkg-shlibdeps is run. This
should make it easier for library packages that also build binary
packages to be built with correct dependancies. Closes: #36751
* In honor of Burn all GIFs Day (hi Don!), I added alternative
image formats .png, .jpg (and .jpeg) to the list of extentions dh_compress
does not compress. Closes: #41733
* Also, made all extentions dh_compress skips be looked at case
insensitively.
* dh_movefiles: force owner and group of installed files to be root.
Closes: #46039
* Closes: #42650, #47175 -- they've been fixed forever.
Diffstat (limited to 'dh_installdocs')
-rwxr-xr-x | dh_installdocs | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/dh_installdocs b/dh_installdocs index cc5e00a9..9e43ea8d 100755 --- a/dh_installdocs +++ b/dh_installdocs @@ -17,7 +17,7 @@ foreach $PACKAGE (@{$dh{DOPACKAGES}}) { # better know what they're doing. if ( ! -d "$TMP/usr/share/doc/$PACKAGE" && ! -l "$TMP/usr/share/doc/$PACKAGE") { - doit("install","-d","$TMP/usr/share/doc/$PACKAGE"); + doit("install","-g","root","-o","root","-d","$TMP/usr/share/doc/$PACKAGE"); } undef @docs; @@ -31,7 +31,8 @@ foreach $PACKAGE (@{$dh{DOPACKAGES}}) { } if (@docs) { - doit("cp","-a",@docs,"$TMP/usr/share/doc/$PACKAGE/"); + doit("cp", "-a",@docs,"$TMP/usr/share/doc/$PACKAGE/"); + doit("chown","-R","root.root","$TMP/usr/share/doc"); doit("chmod","-R","go=rX","$TMP/usr/share/doc"); doit("chmod","-R","u+rw","$TMP/usr/share/doc"); } @@ -42,18 +43,18 @@ foreach $PACKAGE (@{$dh{DOPACKAGES}}) { $readme_debian=pkgfile($PACKAGE,'README.debian'); } if ($readme_debian) { - doit("install","-m","644","-p","$readme_debian", + doit("install","-g","root","-o","root","-m","644","-p","$readme_debian", "$TMP/usr/share/doc/$PACKAGE/README.Debian"); } $todo=pkgfile($PACKAGE,'TODO'); if ($todo) { if (isnative($PACKAGE)) { - doit("install","-m","644","-p",$todo, + doit("install","-g","root","-o","root","-m","644","-p",$todo, "$TMP/usr/share/doc/$PACKAGE/TODO"); } else { - doit("install","-m","644","-p",$todo, + doit("install","-g","root","-o","root","-m","644","-p",$todo, "$TMP/usr/share/doc/$PACKAGE/TODO.Debian"); } } @@ -66,7 +67,7 @@ foreach $PACKAGE (@{$dh{DOPACKAGES}}) { $copyright="debian/copyright"; } if ($copyright) { - doit("install","-m","644","-p",$copyright, + doit("install","-g","root","-o","root","-m","644","-p",$copyright, "$TMP/usr/share/doc/$PACKAGE/copyright"); } @@ -107,11 +108,11 @@ foreach $PACKAGE (@{$dh{DOPACKAGES}}) { if (%doc_ids) { if (! -d "$TMP/usr/share/doc-base/") { - doit("install","-d","$TMP/usr/share/doc-base/"); + doit("install","-g","root","-o","root","-d","$TMP/usr/share/doc-base/"); } } foreach my $fn (keys %doc_ids) { - doit("install","-m644","-p","debian/$fn", + doit("install","-g","root","-o","root","-m644","-p","debian/$fn", "$TMP/usr/share/doc-base/$doc_ids{$fn}"); if (! $dh{NOSCRIPTS}) { autoscript($PACKAGE,"postinst","postinst-doc-base", |