Revert the changes made in the previous NMU

debian/rules: Revert the changes made in the previous NMU, I don't think
that dropping the .service file that late in the release cycle is a good
idea and anyway this was causing left-over files on upgrade.
This commit is contained in:
Laurent Bigonville 2015-01-25 12:50:07 +01:00
parent f07df515f5
commit fedf671e4d
2 changed files with 5 additions and 4 deletions

4
debian/rules vendored
View file

@ -78,9 +78,7 @@ common-install-arch::
$(CURDIR)/debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH)/libupsclient.so
# Install systemd files only on systems where it's supported
# disabled in Ubuntu until the unit gets fixed to check nut.conf
# disabled in Debian Jessie to retain sysvinit support until fix is available
ifeq (linux-disabled,$(DEB_HOST_ARCH_OS))
ifeq (linux,$(DEB_HOST_ARCH_OS))
install -m 644 -D $(CURDIR)/debian/tmp/lib/$(DEB_HOST_MULTIARCH)/systemd/system/nut-monitor.service \
$(CURDIR)/debian/nut-client/lib/systemd/system/nut-monitor.service
install -D $(CURDIR)/debian/tmp/lib/$(DEB_HOST_MULTIARCH)/systemd/system-shutdown/nutshutdown \