summaryrefslogtreecommitdiff
path: root/postrm-runit
diff options
context:
space:
mode:
authorDmitry Bogatov <KAction@gnu.org>2016-06-12 07:25:31 +0300
committerDmitry Bogatov <KAction@gnu.org>2016-06-12 07:25:31 +0300
commitb122eaa57f6bbc0d8c4a521ac0e678cd29dba2e0 (patch)
tree6e962ca6159fb593a994a8251e632832798148c4 /postrm-runit
parent2b6664995c19638a7df65b5a7762aa42adac8512 (diff)
Fix lintian warnings
* do not depend on perl-modules (why? lintian knows better) * postrm-runit, preinst-runit: make emacs choose correct shell without shebang
Diffstat (limited to 'postrm-runit')
-rw-r--r--postrm-runit6
1 files changed, 5 insertions, 1 deletions
diff --git a/postrm-runit b/postrm-runit
index 9556830..3e3d76d 100644
--- a/postrm-runit
+++ b/postrm-runit
@@ -1,4 +1,4 @@
1#!/bin/sh # just to convince emacs that it is shell script 1# -*- shell-script -*-
2 2
3if [ "$1" = 'purge' ] ; then 3if [ "$1" = 'purge' ] ; then
4 # If runscript was never invoked, these files would not exist, 4 # If runscript was never invoked, these files would not exist,
@@ -10,3 +10,7 @@ if [ "$1" = 'purge' ] ; then
10 # or there is a BUG in dh-runit! 10 # or there is a BUG in dh-runit!
11 rmdir "/var/lib/runit/supervise/#NAME#" 11 rmdir "/var/lib/runit/supervise/#NAME#"
12fi 12fi
13
14# Local Variables:
15# eval: (sh-set-shell "sh" t nil)
16# End: