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

Fix home_path

This commit is contained in:
Rafi594 2019-10-22 18:03:41 +02:00
parent 5411cc919d
commit 2e637ea331

View file

@ -19,6 +19,7 @@ app=$YNH_APP_INSTANCE_NAME
domain=$(ynh_app_setting_get --app=$app --key=domain)
is_public=$(ynh_app_setting_get --app=$app --key=is_public)
final_path=$(ynh_app_setting_get --app=$app --key=final_path)
home_path=$(ynh_app_setting_get --app=$app --key=home_path)
#=================================================
# ENSURE DOWNWARD COMPATIBILITY
@ -90,7 +91,6 @@ ynh_print_info --message="Making sure dedicated system user exists..."
# Create a dedicated user (if not existing)
ynh_system_user_create --username=$app --home_dir=/home/yunohost.app/$app --use_shell
$home_path=/home/yunohost.app/$app
#=================================================
# SETUP SYSTEMD