]> git.ipfire.org Git - thirdparty/nqptp.git/commitdiff
Change dev branch. 1/head
authorCharles <charles@zyndex.co.uk>
Thu, 6 May 2021 00:40:41 +0000 (01:40 +0100)
committerCharles <charles@zyndex.co.uk>
Thu, 6 May 2021 00:40:41 +0000 (01:40 +0100)
Makefile.am

index b36e961119d572b7f5f812c931c11d1cf1d3910d..14696c9e841209a847e54ac45357335aeb816e0c 100644 (file)
@@ -4,6 +4,5 @@ nqptp_SOURCES = nqptp.c nqptp-clock-sources.c nqptp-message-handlers.c nqptp-uti
 AM_CFLAGS = -fno-common -Wno-multichar -Wall -Wextra -Wno-clobbered -Wno-psabi -pthread
 
 install-exec-hook:
-       getent group nqptp &>/dev/null || groupadd -r nqptp >/dev/null
-       [ -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
+       -f /lib/systemd/system/nqptp.service || cp nqptp.service /lib/systemd/system
\ No newline at end of file