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

Fix datadir

This commit is contained in:
yalh76 2022-01-07 03:15:43 +01:00
parent 24fe914040
commit dd9914eff7

View file

@ -40,6 +40,8 @@ ynh_script_progression --message="Validating installation parameters..."
final_path=/var/www/$app
test ! -e "$final_path" || ynh_die --message="This path already contains a folder"
datadir=/home/yunohost.app/$app/data
# Register (book) web path
ynh_webpath_register --app=$app --domain=$domain --path_url=$path_url
@ -124,7 +126,6 @@ ynh_add_nginx_config
#=================================================
ynh_script_progression --message="Creating a data directory..."
datadir=/home/yunohost.app/$app/data
ynh_app_setting_set --app=$app --key=datadir --value=$datadir
mkdir -p $datadir