gitolite: fix logic error in pre-install
This commit is contained in:
parent
704f6cb57a
commit
85de2976a9
@ -3,6 +3,5 @@
|
||||
getent group git >/dev/null || /usr/sbin/groupadd -r git
|
||||
|
||||
# default ssh settings requrie an unlocked account with a valid loginshell
|
||||
getent passwd git > /dev/null || /usr/sbin/useradd -g git -r -s /bin/sh git
|
||||
getent passwd git > /dev/null || /usr/sbin/usermod -p x git
|
||||
getent passwd git > /dev/null || (/usr/sbin/useradd -g git -r -s /bin/sh git; /usr/sbin/usermod -p x git)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user