From 3c3b3b32d6b8c38c5493621f58a2f79634eecce6 Mon Sep 17 00:00:00 2001 From: oblique Date: Sun, 15 Dec 2013 16:29:08 +0200 Subject: [PATCH] Makefile: copy create_ap.service only if /lib/systemd/system exists --- Makefile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 254d346..992a16e 100644 --- a/Makefile +++ b/Makefile @@ -3,5 +3,4 @@ all: install: cp create_ap /usr/bin/create_ap - cp create_ap.service /lib/systemd/system/create_ap.service - + [ ! -d /lib/systemd/system ] || cp create_ap.service /lib/systemd/system