1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/leed_ynh.git synced 2024-09-03 19:26:32 +02:00

finalpath absent

This commit is contained in:
Maniack Crudelis 2016-06-25 17:57:34 +02:00
parent 55a09e9ebb
commit 365e6ff0bf

View file

@ -16,6 +16,10 @@ is_public=$(sudo yunohost app setting $app is_public)
final_path=$(sudo yunohost app setting $app final_path)
db_pwd=$(sudo yunohost app setting $app mysqlpwd)
if [ -z $final_path ]; then # Si final_path n'est pas renseigné dans app setting
final_path=/var/www/$app
sudo yunohost app setting $app final_path -v $final_path
fi
CHECK_PATH # Vérifie et corrige la syntaxe du path.