Makefile: copy create_ap.service only if /lib/systemd/system exists

This commit is contained in:
oblique 2013-12-15 16:29:08 +02:00
parent 452689bdbb
commit 3c3b3b32d6

View File

@ -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