]> git.donarmstrong.com Git - debhelper.git/blobdiff - dh_installwm
r406: * Fixed dh_installwm. Oops. Closes: #81124
[debhelper.git] / dh_installwm
index b687ccf41e31edb94e205687b7366cc14dfdeb24..9a970feb308c705fe2139b551d29c46b9dea8395 100755 (executable)
@@ -1,6 +1,6 @@
 #!/usr/bin/perl -w
 #
-# Add to postinst and postrm to register a window manager.
+# Add to postinst and prerm to register a window manager.
 
 use Debian::Debhelper::Dh_Lib;
 init();
@@ -32,7 +32,7 @@ foreach $PACKAGE (@{$dh{DOPACKAGES}}) {
        if (@wm && ! $dh{NOSCRIPTS}) {
                foreach (@wm) {
                        autoscript($PACKAGE,"postinst","postinst-wm","s:#WM#:$_:;s/#PRIORITY#/$dh{PRIORITY}/",);
-                       autoscript($PACKAGE,"postrm","postrm-wm","s:#WM#:$_:");
+                       autoscript($PACKAGE,"prerm","prerm-wm","s:#WM#:$_:");
                }
        }
 }