diff options
Diffstat (limited to 'dh_ucf')
-rwxr-xr-x | dh_ucf | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -77,8 +77,8 @@ foreach my $package (@{$dh{DOPACKAGES}}) { foreach my $set (@ucf) { my $src = $set->[0]; my $dest = $set->[1]; - autoscript($package,"postinst","postinst-ucf","s:#UCFSRC#:$src:;s:#UCFDEST#:$dest:;s/#PACKAGE#/$package/",); - autoscript($package,"postrm","postrm-ucf","s:#UCFDEST#:$dest:;s/#PACKAGE#/$package/"); + autoscript($package,"postinst","postinst-ucf","s:#UCFSRC#:$src:g;s:#UCFDEST#:$dest:g;s/#PACKAGE#/$package/g",); + autoscript($package,"postrm","postrm-ucf","s:#UCFDEST#:$dest:g;s/#PACKAGE#/$package/g"); } } } |