mirror of
https://framagit.org/YunoHost-Apps/gitea_ynh.git
synced 2024-12-24 18:39:45 +01:00
Fix wrong home directory
This commit is contained in:
parent
e8049b0eb1
commit
c87d5a3c66
@ -59,7 +59,7 @@ ynh_mysql_create_db "$dbname" "$dbuser" "$dbpass"
|
||||
|
||||
# Add users
|
||||
ynh_script_progression --message="Configuring system user..."
|
||||
ynh_system_user_create --username= $app --home_dir=/opt/yunohost/$app --use_shell
|
||||
ynh_system_user_create --username=$app --home_dir=/home/$app --use_shell
|
||||
|
||||
# create needed directories
|
||||
create_dir
|
||||
|
@ -40,7 +40,7 @@ test ! -e "$final_path" || ynh_die --message "This path already contains a folde
|
||||
|
||||
# Add users
|
||||
ynh_script_progression --message="Configuring system user..."
|
||||
ynh_system_user_create --username= $app --home_dir=/opt/yunohost/$app --use_shell
|
||||
ynh_system_user_create --username=$app --home_dir=/home/$app --use_shell
|
||||
|
||||
# Restore all files
|
||||
ynh_script_progression --message="Restoring files..." --weight=10
|
||||
|
Loading…
Reference in New Issue
Block a user