From aa324de9ed49edd40873d3eaffe0167e73374388 Mon Sep 17 00:00:00 2001 From: nilninull Date: Wed, 3 Oct 2018 10:19:43 +0900 Subject: [PATCH] FIX: The systemd service file is always installed --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index a97b822..42fb1ea 100644 --- a/Makefile +++ b/Makefile @@ -67,7 +67,7 @@ install_scripts: ## Install scipts install_scripts: scripts install -Dm755 scripts/beesd $(DESTDIR)$(PREFIX)/sbin/beesd install -Dm644 scripts/beesd.conf.sample $(DESTDIR)/$(ETC_PREFIX)/bees/beesd.conf.sample -ifneq (SYSTEMD_SYSTEM_UNIT_DIR,) +ifneq ($(SYSTEMD_SYSTEM_UNIT_DIR),) install -Dm644 scripts/beesd@.service $(DESTDIR)$(SYSTEMD_SYSTEM_UNIT_DIR)/beesd@.service endif