diff options
author | Tim Biermann <tbier@posteo.de> | 2022-02-27 22:21:54 +0100 |
---|---|---|
committer | Tim Biermann <tbier@posteo.de> | 2022-02-27 22:21:54 +0100 |
commit | fbbfe373d51bea36dda03b64744ab62609494c16 (patch) | |
tree | b690fe9b37c80e16882e8f6b50d84ba7fc9190c3 /distcc | |
parent | 9658b164fa0afff50005bf2499dc1fdf0ff0bb8d (diff) | |
parent | 056d462c5b79cc9c865596096be767668a8f0d9e (diff) | |
download | contrib-fbbfe373d51bea36dda03b64744ab62609494c16.tar.gz contrib-fbbfe373d51bea36dda03b64744ab62609494c16.tar.xz |
Merge remote-tracking branch 'origin/3.6' into 3.7
Diffstat (limited to 'distcc')
-rwxr-xr-x | distcc/pre-install | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/distcc/pre-install b/distcc/pre-install index b3bd0f2bf..26604df04 100755 --- a/distcc/pre-install +++ b/distcc/pre-install @@ -1,2 +1,4 @@ -/usr/sbin/groupadd --system distcc -/usr/sbin/useradd --system --gid distcc --home-dir /var/empty --shell /bin/false distcc && passwd --lock distcc +#!/bin/sh -e + +/usr/bin/getent group distcc > /dev/null 2>&1 || /usr/sbin/groupadd --system distcc +/usr/bin/getent passwd distcc > /dev/null 2>&1 || /usr/sbin/useradd --system --gid distcc --home-dir /var/empty --shell /bin/false distcc && passwd --lock distcc |