diff options
author | joey <joey> | 2003-08-22 19:40:51 +0000 |
---|---|---|
committer | joey <joey> | 2003-08-22 19:40:51 +0000 |
commit | 917726187d01b79c7aa454a953f2e483a5171061 (patch) | |
tree | 7f614ae4c96f9cd3facf2f25e1be5c49a2c7ff15 /dh_installmodules | |
parent | 5dd373940d0348cc4dce74d0b0aa148d35b29934 (diff) |
r1596: * Remove duplicate packages from DOPACKAGES after argument processing.
Closes: #112950
* dh_compress: deal with links pointing to links pointing to compressed
files, no matter what order find returns them. Closes: #204169
* dh_installmodules, dh_installpam, dh_installcron, dh_installinit,
dh_installogrotate: add --name= option, that can be used to specify
the name to use for the file(s) installed by these commands. For example,
dh_installcron --name=foo will install debian/package.foo.cron.daily to
etc/cron.daily/foo. Closes: #138202, #101003, #68545, #148844
(Thanks to Thomas Hood for connecting these bug reports.)
* dh_installinit: deprecated --init-script option in favor of the above.
* Add dh_installppp. Closes: #43403
Diffstat (limited to 'dh_installmodules')
-rwxr-xr-x | dh_installmodules | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/dh_installmodules b/dh_installmodules index 13fd8f5c..36ba5195 100755 --- a/dh_installmodules +++ b/dh_installmodules @@ -13,7 +13,7 @@ use File::Find; =head1 SYNOPSIS -B<dh_installmodules> [S<I<debhelper options>>] [B<-n>] +B<dh_installmodules> [S<I<debhelper options>>] [B<-n>] [B<--name=>I<name>] =head1 DESCRIPTION @@ -37,6 +37,13 @@ has .o files in /lib/modules. Do not modify postinst/postrm scripts. +=item B<--name=>I<name> + +Use "name" as the filename the the modules file is installed in +etc/modutils/. When this parameter is used, dh_installmodules looks for and +installs files named debian/package.name.modules instead of the usual +debian/package.modules. + =back =head1 NOTES @@ -71,7 +78,7 @@ foreach my $package (@{$dh{DOPACKAGES}}) { if (! -e "$tmp/etc/modutils") { doit("install","-d","$tmp/etc/modutils"); } - doit("install","-m","0644",$file,"$tmp/etc/modutils/$package"); + doit("install","-m","0644",$file,"$tmp/etc/modutils/".pkgfilename($package)); } if (! $dh{NOSCRIPTS} && |