summaryrefslogtreecommitdiff
path: root/dh_installudev
diff options
context:
space:
mode:
authorjoeyh <joeyh>2007-05-31 17:27:59 +0000
committerjoeyh <joeyh>2007-05-31 17:27:59 +0000
commit38e0e63a462ada3e516cd00f50d54828ca757a86 (patch)
tree35d563a7bc5f217df63821ecc79745eea87ae424 /dh_installudev
parent2e7c77052024eb60c4a61b7098b3b3f965e25b95 (diff)
r2004: file. (Thanks Wakko)
* Use dpkg-query to retrieve conffile info in udev rules upgrade code rather than parsing status directly. (Thanks Guillem)
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 768703a5..44f3177a 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");
}
}