1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/gogs_ynh.git synced 2024-09-03 20:36:23 +02:00

Update install

This commit is contained in:
ericgaspar 2020-11-20 11:09:54 +01:00
parent fdb47fde5d
commit ac1a118780
No known key found for this signature in database
GPG key ID: 574F281483054D44

View file

@ -114,11 +114,11 @@ mkdir -p "/var/log/$app"
# STANDARD MODIFICATIONS # STANDARD MODIFICATIONS
#================================================= #=================================================
# Add users # # Add users
# We can't use the official helper because we need to set the shell for the login # # We can't use the official helper because we need to set the shell for the login
test getent passwd "$app" &>/dev/null || \ # test getent passwd "$app" &>/dev/null || \
useradd -d "/home/$app" --system --user-group "$app" --shell /bin/bash || \ # useradd -d "/home/$app" --system --user-group "$app" --shell /bin/bash || \
ynh_die "Unable to create $app system account" # ynh_die "Unable to create $app system account"
#================================================= #=================================================
# MODIFY A CONFIG FILE # MODIFY A CONFIG FILE