Bug 40901: (follow-up) Allow seamless swap between koha-systemd and koha-sysv

koha-systemd and koha-sysv have always declared mutual Conflicts
so you can't install both, but they don't declare Replaces which
would make it so installing one autmatically removes the other

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Martin Renvoize <martin.renvoize@openfifth.co.uk>
Signed-off-by: Pedro Amorim <pedro.amorim@openfifth.co.uk>
This commit is contained in:
Kyle M Hall 2026-05-07 14:31:32 -04:00 committed by Pedro Amorim
parent 8023b38202
commit 5e37c3e412
No known key found for this signature in database
GPG Key ID: 06B75BA7F3894D55
2 changed files with 4 additions and 2 deletions

3
debian/control vendored
View File

@ -481,6 +481,7 @@ Architecture: all
Depends: ${misc:Depends}, systemd, koha-core
Provides: koha-init
Conflicts: koha-sysv
Replaces: koha-sysv
Description: systemd units for Koha ILS
Koha is an Integrated Library Management system for real-world libraries
(the kinds with books).
@ -498,7 +499,7 @@ Architecture: all
Depends: ${misc:Depends}, daemon, koha-core
Provides: koha-init
Conflicts: koha-systemd
Replaces: koha-common (<< 25.11)
Replaces: koha-common (<< 25.11), koha-systemd
Breaks: koha-common (<< 25.11)
Description: SysV init scripts for Koha ILS
Koha is an Integrated Library Management system for real-world libraries

3
debian/control.in vendored
View File

@ -145,6 +145,7 @@ Architecture: all
Depends: ${misc:Depends}, systemd, koha-core
Provides: koha-init
Conflicts: koha-sysv
Replaces: koha-sysv
Description: systemd units for Koha ILS
Koha is an Integrated Library Management system for real-world libraries
(the kinds with books).
@ -162,7 +163,7 @@ Architecture: all
Depends: ${misc:Depends}, daemon, koha-core
Provides: koha-init
Conflicts: koha-systemd
Replaces: koha-common (<< 25.11)
Replaces: koha-common (<< 25.11), koha-systemd
Breaks: koha-common (<< 25.11)
Description: SysV init scripts for Koha ILS
Koha is an Integrated Library Management system for real-world libraries