diff options
author | Dmitry Bogatov <KAction@gnu.org> | 2016-06-12 07:25:31 +0300 |
---|---|---|
committer | Dmitry Bogatov <KAction@gnu.org> | 2016-06-12 07:25:31 +0300 |
commit | b122eaa57f6bbc0d8c4a521ac0e678cd29dba2e0 (patch) | |
tree | 6e962ca6159fb593a994a8251e632832798148c4 | |
parent | 2b6664995c19638a7df65b5a7762aa42adac8512 (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/control | 1 | ||||
-rw-r--r-- | postrm-runit | 6 | ||||
-rw-r--r-- | preinst-runit | 6 |
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 | |||
11 | Package: dh-runit | 11 | Package: dh-runit |
12 | Architecture: any | 12 | Architecture: any |
13 | Depends: debhelper (>= 9), | 13 | Depends: debhelper (>= 9), |
14 | perl-modules, | ||
15 | ${misc:Depends}, | 14 | ${misc:Depends}, |
16 | ${shlibs:Depends} | 15 | ${shlibs:Depends} |
17 | Description: debhelper add-on to handle runit runscripts | 16 | Description: 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 | ||
3 | if [ "$1" = 'purge' ] ; then | 3 | if [ "$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#" |
12 | fi | 12 | fi |
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 -*- |
2 | SV_ABS_DIR=/var/lib/runit/service | 2 | SV_ABS_DIR=/var/lib/runit/service |
3 | SV_DIR=/etc/service | 3 | SV_DIR=/etc/service |
4 | mkdir -p "$SV_ABS_DIR" | 4 | mkdir -p "$SV_ABS_DIR" |
@@ -17,3 +17,7 @@ restart installation. | |||
17 | EOF | 17 | EOF |
18 | exit 1 | 18 | exit 1 |
19 | fi | 19 | fi |
20 | |||
21 | # Local Variables: | ||
22 | # eval: (sh-set-shell "sh" t nil) | ||
23 | # End: | ||