From 0ee893389e34bb39de7b6a41ff7f6e42ad0d3b12 Mon Sep 17 00:00:00 2001 From: Niels Thykier Date: Sat, 15 Jul 2017 16:26:48 +0000 Subject: dh_*: Migrate most tools to new shell-less autoscript Signed-off-by: Niels Thykier --- dh_installmodules | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'dh_installmodules') diff --git a/dh_installmodules b/dh_installmodules index 40d42336..46ef0241 100755 --- a/dh_installmodules +++ b/dh_installmodules @@ -100,8 +100,8 @@ foreach my $package (@{$dh{DOPACKAGES}}) { if (! $dh{NOSCRIPTS}) { foreach my $kvers (find_kernel_modules("$tmp/lib/modules")) { - autoscript($package,"postinst","postinst-modules","s/#KVERS#/$kvers/g"); - autoscript($package,"postrm","postrm-modules","s/#KVERS#/$kvers/g"); + autoscript($package, 'postinst', 'postinst-modules', { 'KVERS' => $kvers }); + autoscript($package, 'postrm', 'postrm-modules', { 'KVERS' => $kvers }); } } } -- cgit v1.2.3