Update vlang_init.sh

This commit is contained in:
Kreyren 2020-02-07 16:53:28 +01:00 committed by GitHub
parent 15986f2ff1
commit f880b2734f
Signed by: GitHub
GPG Key ID: 4AEE18F83AFDEB23

@ -139,8 +139,6 @@ if ! groups | grep -qF "$VLANG_GROUP"; then
usermod -a -G "$VLANG_GROUP" gitpod || die 1 "Unable to transfer user 'gitpod' in user-group '$VLANG_GROUP'" usermod -a -G "$VLANG_GROUP" gitpod || die 1 "Unable to transfer user 'gitpod' in user-group '$VLANG_GROUP'"
chmod 0775 "$VLANG_SOURCE" || die 1 "Unable to set ownership to '$VLANG_SOURCE" chmod 0775 "$VLANG_SOURCE" || die 1 "Unable to set ownership to '$VLANG_SOURCE"
edebug "User 'gitpod' has been added in user-group '$VLANG_GROUP'" edebug "User 'gitpod' has been added in user-group '$VLANG_GROUP'"
elif false; then # HOTFIX
chown -R gitpod:gitpod "$VLANG_SOURCE" || die 1 "Unable to set group ownership '$VLANG_GROUP'"
elif groups | grep -qF $VLANG_GROUP; then elif groups | grep -qF $VLANG_GROUP; then
edebug "User 'gitpod' is already in user-group '$VLANG_GROUP'" edebug "User 'gitpod' is already in user-group '$VLANG_GROUP'"
else else