summaryrefslogtreecommitdiff
path: root/debian/dh-runit.install
diff options
context:
space:
mode:
authorDmitry Bogatov <KAction@gnu.org>2018-05-23 08:23:08 +0300
committerDmitry Bogatov <KAction@gnu.org>2018-05-27 11:13:01 +0300
commitc870dcaa53988f709b1152221e76992972365fb5 (patch)
treefc056e71e6208daeb60335d9f0d543674f34887e /debian/dh-runit.install
parent9376da82f5ae0b68c361c314b8af09ab56229671 (diff)
Do not re-enable serice on upgrade
* Do not make symbolic link /etc/runit/runsvdir/default/$name -> /etc/sv/$name part of package files {in which case it will be unconditionally created on upgrade}; instead manage it in maintainer scripts: create it in postinst script on fresh install and remove on purge/remove in postrm. * Force versioned dependency on runit-helper, to make sure that versioned dependency on dh-runit would close #899242
Diffstat (limited to 'debian/dh-runit.install')
-rw-r--r--debian/dh-runit.install1
1 files changed, 1 insertions, 0 deletions
diff --git a/debian/dh-runit.install b/debian/dh-runit.install
index 762f76a..e3f2d9d 100644
--- a/debian/dh-runit.install
+++ b/debian/dh-runit.install
@@ -1,3 +1,4 @@
1dh_runit /usr/bin 1dh_runit /usr/bin
2postrm-runit /usr/share/debhelper/autoscripts 2postrm-runit /usr/share/debhelper/autoscripts
3postinst-runit /usr/share/debhelper/autoscripts
3runit.pm /usr/share/perl5/Debian/Debhelper/Sequence 4runit.pm /usr/share/perl5/Debian/Debhelper/Sequence