summaryrefslogtreecommitdiff
path: root/dh_icons
diff options
context:
space:
mode:
authorNiels Thykier <niels@thykier.net>2017-07-15 16:26:48 +0000
committerNiels Thykier <niels@thykier.net>2017-07-22 18:43:27 +0000
commit0ee893389e34bb39de7b6a41ff7f6e42ad0d3b12 (patch)
tree481f9a22884240360f4be81975d6e6230814d7d8 /dh_icons
parent1b9853af02064d0ad29f6b602652bab8b1157f53 (diff)
downloaddebhelper-0ee893389e34bb39de7b6a41ff7f6e42ad0d3b12.tar.gz
dh_*: Migrate most tools to new shell-less autoscript
Signed-off-by: Niels Thykier <niels@thykier.net>
Diffstat (limited to 'dh_icons')
-rwxr-xr-xdh_icons4
1 files changed, 2 insertions, 2 deletions
diff --git a/dh_icons b/dh_icons
index b7e84532..73240ec4 100755
--- a/dh_icons
+++ b/dh_icons
@@ -66,8 +66,8 @@ foreach my $package (@{$dh{DOPACKAGES}}) {
closedir($dirfd);
if (@dirlist and ! $dh{NOSCRIPTS}) {
my $list=join(" ", sort @dirlist);
- autoscript($package,"postinst","postinst-icons","s%#DIRLIST#%$list%g");
- autoscript($package,"postrm","postrm-icons","s%#DIRLIST#%$list%g");
+ autoscript($package, 'postinst', 'postinst-icons', { 'DIRLIST' => $list });
+ autoscript($package, 'postrm', 'postrm-icons', { 'DIRLIST' => $list });
}
}
}