]> git.ipfire.org Git - thirdparty/nqptp.git/commitdiff
fix the install-exec-hook stuff
authorMike Brady <4265913+mikebrady@users.noreply.github.com>
Fri, 14 May 2021 21:12:47 +0000 (22:12 +0100)
committerMike Brady <4265913+mikebrady@users.noreply.github.com>
Fri, 14 May 2021 21:12:47 +0000 (22:12 +0100)
Makefile.am

index 9bcaa3e2588da586b36e452f3d08b7b7ce08d6d4..61b6e2780a2ad6c304014c13a546f9e4f04b373e 100644 (file)
@@ -18,5 +18,5 @@ endif
 
 
 install-exec-hook:
-       -e /lib/systemd/system || mkdir -p /lib/systemd/system
-       -f /lib/systemd/system/nqptp.service || cp nqptp.service /lib/systemd/system
+       [ -e /lib/systemd/system ] || mkdir -p /lib/systemd/system
+       cp nqptp.service /lib/systemd/system