diff options
Diffstat (limited to 'dh_installmenu')
-rwxr-xr-x | dh_installmenu | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/dh_installmenu b/dh_installmenu index 3c1d84da..adca9d6e 100755 --- a/dh_installmenu +++ b/dh_installmenu @@ -81,8 +81,8 @@ foreach my $package (@{$dh{DOPACKAGES}}) { install_file($menu_method,"$tmp/etc/menu-methods/$package"); if (! $dh{NOSCRIPTS}) { - autoscript($package,"postinst","postinst-menu-method","s/#PACKAGE#/$package/"); - autoscript($package,"postrm","postrm-menu-method","s/#PACKAGE#/$package/"); + autoscript($package,"postinst","postinst-menu-method","s/#PACKAGE#/$package/g"); + autoscript($package,"postrm","postrm-menu-method","s/#PACKAGE#/$package/g"); } } } |