]> git.donarmstrong.com Git - debhelper.git/blobdiff - dh_installudev
Fix typo in French translation, about debian/package.README.Debian files.
[debhelper.git] / dh_installudev
index 768703a5c6692ebc38168451b3459881a75e87aa..9dd4e18c5deefe0d95fce3b12e75f680e4757ed9 100755 (executable)
@@ -43,14 +43,14 @@ Sets the priority string of the rules.d symlink. Default is z60.
 
 Do not modify postinst/postrm scripts.
 
+=back
+
 =head1 NOTES
 
-Note that this command is not idempotent. "dh_clean -k" should be called
+Note that this command is not idempotent. L<dh_prep(1)> should be called
 between invocations of this command. Otherwise, it may cause multiple
 instances of the same text to be added to maintainer scripts.
 
-=back
-
 =cut
 
 init();
@@ -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");
                }
        }