diff options
author | Dmitry Bogatov <KAction@debian.org> | 2018-12-16 08:59:23 +0000 |
---|---|---|
committer | Dmitry Bogatov <KAction@debian.org> | 2018-12-16 08:59:28 +0000 |
commit | 932824afbc8302949e4b3551a14b42e629a66ebc (patch) | |
tree | 0c04f6661aed2eba6376ad760f7ee8ef87efa821 /dh_runit | |
parent | 1432d897faea22299d253b3cfad8c94cd751ed1f (diff) |
Do not impose dependency on `runit' binary package
Instead, generate conflict relation with old `runit' version, not
providing `runit-log' user.
Diffstat (limited to 'dh_runit')
-rwxr-xr-x | dh_runit | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -102,7 +102,8 @@ HERE | |||
102 | install_dir("$tmp/var/lib/runit/log/supervise/$name"); | 102 | install_dir("$tmp/var/lib/runit/log/supervise/$name"); |
103 | } | 103 | } |
104 | } | 104 | } |
105 | addsubstvar($pkg, 'misc:Depends', 'runit', '>= 2.1.2-20~'); | 105 | # runit=2.1.2-20 introduced 'runit-log' user |
106 | addsubstvar($pkg, 'runit:Conflicts', 'runit', '<< 2.1.2-20~'); | ||
106 | addsubstvar($pkg, 'misc:Depends', 'runit-helper', '>= 2.8.1~'); | 107 | addsubstvar($pkg, 'misc:Depends', 'runit-helper', '>= 2.8.1~'); |
107 | } | 108 | } |
108 | 109 | ||