diff options
author | Dmitry Bogatov <KAction@gnu.org> | 2016-06-09 18:50:22 +0300 |
---|---|---|
committer | Dmitry Bogatov <KAction@gnu.org> | 2016-06-09 18:50:22 +0300 |
commit | fc35408ab60287a4e978ba93e61c2ded44342e7d (patch) | |
tree | 2d96b90cc3a03e1daeefb9d540046c6ae5efb634 /debian/dh-runit.install | |
parent | 9002e984d29480a3287506c73d82f247b0dbacea (diff) |
Improve handling of maintainer scripts
* checking for /etc/service symlink is moved into preinst
* runscripts are enabled in postinst
* runscripts are disables in prerm
* supervise directory is purged on 'postrm purge'
Diffstat (limited to 'debian/dh-runit.install')
-rw-r--r-- | debian/dh-runit.install | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/debian/dh-runit.install b/debian/dh-runit.install index faa7e8b..5b296b5 100644 --- a/debian/dh-runit.install +++ b/debian/dh-runit.install | |||
@@ -1,4 +1,6 @@ | |||
1 | dh_runit /usr/bin | 1 | dh_runit /usr/bin |
2 | preinst-runit /usr/share/debhelper/autoscripts | ||
2 | postinst-runit /usr/share/debhelper/autoscripts | 3 | postinst-runit /usr/share/debhelper/autoscripts |
3 | prerm-runit /usr/share/debhelper/autoscripts | 4 | prerm-runit /usr/share/debhelper/autoscripts |
5 | postrm-runit /usr/share/debhelper/autoscripts | ||
4 | runit.pm /usr/share/perl5/Debian/Debhelper/Sequence | 6 | runit.pm /usr/share/perl5/Debian/Debhelper/Sequence |