From: Mike Brady <4265913+mikebrady@users.noreply.github.com> Date: Fri, 14 May 2021 21:12:47 +0000 (+0100) Subject: fix the install-exec-hook stuff X-Git-Tag: 1.2~127 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c3d239cdb7753240a0ad41bfde70678bb29488db;p=thirdparty%2Fnqptp.git fix the install-exec-hook stuff --- diff --git a/Makefile.am b/Makefile.am index 9bcaa3e..61b6e27 100644 --- a/Makefile.am +++ b/Makefile.am @@ -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