From 8526fc70c1875d692ac256a3c72c326d4e4e8caf Mon Sep 17 00:00:00 2001 From: NicoHood Date: Tue, 25 Oct 2016 22:27:27 +0200 Subject: [PATCH] Corrected systemd makefile path --- Makefile | 4 ++-- create_ap | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 9de41fb..d0304e8 100644 --- a/Makefile +++ b/Makefile @@ -9,13 +9,13 @@ all: install: install -Dm755 create_ap $(DESTDIR)$(BINDIR)/create_ap install -Dm644 create_ap.conf $(DESTDIR)/etc/create_ap.conf - [ ! -d /lib/systemd/system ] || install -Dm644 create_ap.service $(DESTDIR)/lib/systemd/system/create_ap.service + [ ! -d /lib/systemd/system ] || install -Dm644 create_ap.service $(DESTDIR)$(PREFIX)/lib/systemd/system/create_ap.service install -Dm644 bash_completion $(DESTDIR)$(PREFIX)/share/bash-completion/completions/create_ap install -Dm644 README.md $(DESTDIR)$(PREFIX)/share/doc/${pkgname}/README.md uninstall: rm -f $(DESTDIR)$(BINDIR)/create_ap rm -f $(DESTDIR)/etc/create_ap.conf - [ ! -f /lib/systemd/system/create_ap.service ] || rm -f $(DESTDIR)/lib/systemd/system/create_ap.service + [ ! -f /lib/systemd/system/create_ap.service ] || rm -f $(DESTDIR)$(PREFIX)/lib/systemd/system/create_ap.service rm -f $(DESTDIR)$(PREFIX)/share/bash-completion/completions/create_ap rm -f $(DESTDIR)$(PREFIX)/share/doc/${pkgname}/README.md diff --git a/create_ap b/create_ap index a19d8e3..679c856 100755 --- a/create_ap +++ b/create_ap @@ -14,7 +14,7 @@ # dnsmasq # iptables -VERSION=0.4.1 +VERSION=0.4.2 PROGNAME="$(basename $0)" # make sure that all command outputs are in english