From 28dfe2564c8f6bc4422b4d1eee7d707190bea7db Mon Sep 17 00:00:00 2001 From: Dmitry Bogatov Date: Tue, 7 Jun 2016 02:05:28 +0300 Subject: Fix typos --- dh_runit | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'dh_runit') diff --git a/dh_runit b/dh_runit index 2e3414a..ba066d8 100755 --- a/dh_runit +++ b/dh_runit @@ -89,7 +89,7 @@ PKG: foreach my $pkg (@{$dh{DOPACKAGES}}) { } elsif ( -d $path) { doit('cp', '-r', $path, "$sv_dir/$name"); } - if ($enable -eq 'enable' && !$DH{NO_ENABLE}) { + if ($enable eq 'enable' && !$dh{NO_ENABLE}) { autoscript($pkg, 'postinst', 'postinst-runit', "s/#NAME#/$name/"); } autoscript($pkg, 'prerm', 'prerm-runit', "s/#NAME#/$name/"); -- cgit v1.2.3