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:
parent
55a09e9ebb
commit
365e6ff0bf
1 changed files with 4 additions and 0 deletions
|
@ -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.
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue