summaryrefslogtreecommitdiff
path: root/dh_installudev
diff options
context:
space:
mode:
authorjoeyh <joeyh>2007-01-21 17:28:36 +0000
committerjoeyh <joeyh>2007-01-21 17:28:36 +0000
commite1167b2fa9cbb4d70c8ee03767311db0235b85b4 (patch)
treee4886af5c75cef36632d6c0729a15493f60c7bb6 /dh_installudev
parentdc2b1003057746445f5ad5a95ec9e298a221e805 (diff)
r1970: * dh_installudev: Support debian/udev files. Closes: #381854
Diffstat (limited to 'dh_installudev')
-rwxr-xr-xdh_installudev3
1 files changed, 3 insertions, 0 deletions
diff --git a/dh_installudev b/dh_installudev
index 1e8ccea..6406c6a 100755
--- a/dh_installudev
+++ b/dh_installudev
@@ -69,6 +69,9 @@ foreach my $package (@{$dh{DOPACKAGES}}) {
my $tmp=tmpdir($package);
my $rules_file=pkgfile($package,"udev");
my $filename=basename($rules_file);
+ if ($filename eq 'udev') {
+ $filename = "$package.udev";
+ }
$filename=~s/\.udev$/.rules/;
if ($rules_file) {