summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitry Bogatov <KAction@gnu.org>2016-06-07 02:05:28 +0300
committerDmitry Bogatov <KAction@gnu.org>2016-06-07 02:05:28 +0300
commit28dfe2564c8f6bc4422b4d1eee7d707190bea7db (patch)
tree854925356f7bfc4583108e0ac0ec0f46329e3397
parent929b68010b357893a3d2e4515e1d6516f332cf98 (diff)
Fix typos
-rwxr-xr-xdh_runit2
-rw-r--r--postinst-runit3
-rw-r--r--prerm-runit2
3 files changed, 3 insertions, 4 deletions
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}}) {
89 } elsif ( -d $path) { 89 } elsif ( -d $path) {
90 doit('cp', '-r', $path, "$sv_dir/$name"); 90 doit('cp', '-r', $path, "$sv_dir/$name");
91 } 91 }
92 if ($enable -eq 'enable' && !$DH{NO_ENABLE}) { 92 if ($enable eq 'enable' && !$dh{NO_ENABLE}) {
93 autoscript($pkg, 'postinst', 'postinst-runit', "s/#NAME#/$name/"); 93 autoscript($pkg, 'postinst', 'postinst-runit', "s/#NAME#/$name/");
94 } 94 }
95 autoscript($pkg, 'prerm', 'prerm-runit', "s/#NAME#/$name/"); 95 autoscript($pkg, 'prerm', 'prerm-runit', "s/#NAME#/$name/");
diff --git a/postinst-runit b/postinst-runit
index 3a51832..8b09a95 100644
--- a/postinst-runit
+++ b/postinst-runit
@@ -16,8 +16,7 @@ restart installation.
16EOF 16EOF
17 exit 1 17 exit 1
18fi 18fi
19NAME=#NAME# 19ln -s '/etc/sv/#NAME#' "$SV_DIR/"
20ln -s "/etc/sv/$NAME" "$SV_DIR/$NAME"
21 20
22 21
23 22
diff --git a/prerm-runit b/prerm-runit
index 8dfa6b6..a919418 100644
--- a/prerm-runit
+++ b/prerm-runit
@@ -1 +1 @@
rm -f /etc/service/#NAME# \ No newline at end of file rm -f /etc/service/#NAME#