Revert "Systemd units are now installed in multi-arch path"

The unit files are again installed in the systemdsystemunitdir path

This reverts commit 4730afcab2.
This commit is contained in:
Laurent Bigonville 2016-07-17 18:07:49 +02:00
parent b762a3580e
commit 79b4afb095

8
debian/rules vendored
View file

@ -90,13 +90,13 @@ common-install-arch::
# Install systemd files only on systems where it's supported # Install systemd files only on systems where it's supported
ifeq (linux,$(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 \ install -m 644 -D $(CURDIR)/debian/tmp/lib/systemd/system/nut-monitor.service \
$(CURDIR)/debian/nut-client/lib/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 \ install -D $(CURDIR)/debian/tmp/lib/systemd/system-shutdown/nutshutdown \
$(CURDIR)/debian/nut-server/lib/systemd/system-shutdown/nutshutdown $(CURDIR)/debian/nut-server/lib/systemd/system-shutdown/nutshutdown
install -m 644 -D $(CURDIR)/debian/tmp/lib/$(DEB_HOST_MULTIARCH)/systemd/system/nut-driver.service \ install -m 644 -D $(CURDIR)/debian/tmp/lib/systemd/system/nut-driver.service \
$(CURDIR)/debian/nut-server/lib/systemd/system/nut-driver.service $(CURDIR)/debian/nut-server/lib/systemd/system/nut-driver.service
install -m 644 -D $(CURDIR)/debian/tmp/lib/$(DEB_HOST_MULTIARCH)/systemd/system/nut-server.service \ install -m 644 -D $(CURDIR)/debian/tmp/lib/systemd/system/nut-server.service \
$(CURDIR)/debian/nut-server/lib/systemd/system/nut-server.service $(CURDIR)/debian/nut-server/lib/systemd/system/nut-server.service
# Add a symlink to mask the LSB initscript # Add a symlink to mask the LSB initscript