diff options
author | Dmitry Bogatov <KAction@gnu.org> | 2018-05-23 08:23:08 +0300 |
---|---|---|
committer | Dmitry Bogatov <KAction@gnu.org> | 2018-05-27 11:13:01 +0300 |
commit | c870dcaa53988f709b1152221e76992972365fb5 (patch) | |
tree | fc056e71e6208daeb60335d9f0d543674f34887e /postrm-runit | |
parent | 9376da82f5ae0b68c361c314b8af09ab56229671 (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 'postrm-runit')
-rw-r--r-- | postrm-runit | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/postrm-runit b/postrm-runit index a306688..d5748c9 100644 --- a/postrm-runit +++ b/postrm-runit | |||
@@ -1,5 +1,6 @@ | |||
1 | # -*- shell-script -*- | 1 | # -*- shell-script -*- |
2 | export NAME='#NAME#' | 2 | export NAME='#NAME#' |
3 | export ENABLE='#ENABLE#' | ||
3 | 4 | ||
4 | # Unfortunately, we can not assume, that bin:runit-helper package | 5 | # Unfortunately, we can not assume, that bin:runit-helper package |
5 | # is installed at postrm stage. | 6 | # is installed at postrm stage. |