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

Update upgrade

This commit is contained in:
ewilly 2016-04-26 20:37:18 +02:00
parent 81745fdba0
commit 67ce08be00

View file

@ -5,13 +5,14 @@ set -e
# causes the shell to exit if you try to use an uninitialised variable
set -u
app=bozon
# retrieve arguments
path=$(sudo yunohost app setting $app path)
stable=$(sudo yunohost app setting $app version)
is_public=$(sudo yunohost app setting $app is_public)
# definie useful vars
app=bozon
parent_path=/var/www
data_path=/home/yunohost.app/$app
final_path=$parent_path/$path