From 0fcd59e1e38bfeef5415ee85af3d1700d4f84750 Mon Sep 17 00:00:00 2001 From: Scott Hardin Date: Wed, 21 Oct 2020 23:52:15 -0700 Subject: [PATCH] Small patch - systemd services should go in /lib..., not /usr/lib... --- src/scripts/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/scripts/Makefile b/src/scripts/Makefile index a113e21..8b65bd0 100644 --- a/src/scripts/Makefile +++ b/src/scripts/Makefile @@ -9,7 +9,7 @@ all: install: install -CDm755 create_ap $(DESTDIR)$(BINDIR)/create_ap install -CDm644 create_ap.conf $(DESTDIR)/etc/create_ap.conf - [ ! -d /lib/systemd/system ] || install -CDm644 create_ap.service $(DESTDIR)$(PREFIX)/lib/systemd/system/create_ap.service + [ ! -d $(DESTDIR)/lib/systemd/system ] || install -CDm644 create_ap.service $(DESTDIR)/lib/systemd/system/create_ap.service install -CDm644 bash_completion $(DESTDIR)$(PREFIX)/share/bash-completion/completions/create_ap install -CDm644 README.md $(DESTDIR)$(PREFIX)/share/doc/create_ap/README.md install -CDm755 wihotspot $(DESTDIR)$(BINDIR)/wihotspot @@ -17,7 +17,7 @@ install: uninstall: rm -f $(DESTDIR)$(BINDIR)/create_ap rm -f $(DESTDIR)/etc/create_ap.conf - [ ! -f /lib/systemd/system/create_ap.service ] || rm -f $(DESTDIR)$(PREFIX)/lib/systemd/system/create_ap.service + [ ! -f $(DESTDIR)/lib/systemd/system/create_ap.service ] || rm -f $(DESTDIR)/lib/systemd/system/create_ap.service rm -f $(DESTDIR)$(PREFIX)/share/bash-completion/completions/create_ap rm -f $(DESTDIR)$(PREFIX)/share/doc/create_ap/README.md rm -f /etc/sudoers.d/create_ap # For older versions