Implement custom handling for systemd units
Take the systemd unit handling code we're currently using, which is a slightly tweaked version of the code dh_installsystemd would generate, and change it further so that it becomes easier to understand and maintain. Since the underlying logic is ultimately extremly similar, the new code should work as expected both when installing the package from scratch and when upgrading from a version where dh_installsystemd (or code derived from it) was still in use.
Showing
- debian/libvirt-daemon-config-network.postinst 18 additions, 6 deletionsdebian/libvirt-daemon-config-network.postinst
- debian/libvirt-daemon-config-network.postrm 18 additions, 5 deletionsdebian/libvirt-daemon-config-network.postrm
- debian/libvirt-daemon-config-nwfilter.postinst 18 additions, 6 deletionsdebian/libvirt-daemon-config-nwfilter.postinst
- debian/libvirt-daemon-config-nwfilter.postrm 18 additions, 5 deletionsdebian/libvirt-daemon-config-nwfilter.postrm
- debian/libvirt-daemon-system.postinst 59 additions, 206 deletionsdebian/libvirt-daemon-system.postinst
- debian/libvirt-daemon-system.postrm 34 additions, 58 deletionsdebian/libvirt-daemon-system.postrm
- debian/libvirt-daemon-system.prerm 22 additions, 20 deletionsdebian/libvirt-daemon-system.prerm
- debian/rules 5 additions, 5 deletionsdebian/rules
Loading
Please register or sign in to comment