summaryrefslogtreecommitdiff
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
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
-rw-r--r--debian/control1
-rw-r--r--postrm-runit6
-rw-r--r--preinst-runit6
3 files changed, 10 insertions, 3 deletions
diff --git a/debian/control b/debian/control
index b5f64d8..ea4074c 100644
--- a/debian/control
+++ b/debian/control
@@ -11,7 +11,6 @@ Homepage: https://anonscm.debian.org/cgit/users/kaction-guest/dh-runit.git
11Package: dh-runit 11Package: dh-runit
12Architecture: any 12Architecture: any
13Depends: debhelper (>= 9), 13Depends: debhelper (>= 9),
14 perl-modules,
15 ${misc:Depends}, 14 ${misc:Depends},
16 ${shlibs:Depends} 15 ${shlibs:Depends}
17Description: debhelper add-on to handle runit runscripts 16Description: debhelper add-on to handle runit runscripts
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:
diff --git a/preinst-runit b/preinst-runit
index eaccc4a..19f959b 100644
--- a/preinst-runit
+++ b/preinst-runit
@@ -1,4 +1,4 @@
1#!/bin/sh # -*- shell-script -*- 1# -*- shell-script -*-
2SV_ABS_DIR=/var/lib/runit/service 2SV_ABS_DIR=/var/lib/runit/service
3SV_DIR=/etc/service 3SV_DIR=/etc/service
4mkdir -p "$SV_ABS_DIR" 4mkdir -p "$SV_ABS_DIR"
@@ -17,3 +17,7 @@ restart installation.
17EOF 17EOF
18 exit 1 18 exit 1
19fi 19fi
20
21# Local Variables:
22# eval: (sh-set-shell "sh" t nil)
23# End: