summaryrefslogtreecommitdiff
path: root/dh_installudev
diff options
context:
space:
mode:
Diffstat (limited to 'dh_installudev')
-rwxr-xr-xdh_installudev2
1 files changed, 1 insertions, 1 deletions
diff --git a/dh_installudev b/dh_installudev
index 768703a..44f3177 100755
--- a/dh_installudev
+++ b/dh_installudev
@@ -79,7 +79,7 @@ foreach my $package (@{$dh{DOPACKAGES}}) {
if (! $dh{NOSCRIPTS}) {
my $old="/etc/udev/$filename";
my $rule="/etc/udev/rules.d/$dh{PRIORITY}$filename";
- autoscript($package,"preinst","preinst-udev","s!#OLD#!$old!g;s!#RULE#!$rule!g");
+ autoscript($package,"preinst","preinst-udev","s!#OLD#!$old!g;s!#RULE#!$rule!g;s!#PACKAGE#!$package!g");
autoscript($package,"postinst","postinst-udev","s!#OLD#!$old!g;s!#RULE#!$rule!g");
}
}