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:
parent
81745fdba0
commit
67ce08be00
1 changed files with 2 additions and 1 deletions
|
@ -5,13 +5,14 @@ set -e
|
||||||
# causes the shell to exit if you try to use an uninitialised variable
|
# causes the shell to exit if you try to use an uninitialised variable
|
||||||
set -u
|
set -u
|
||||||
|
|
||||||
|
app=bozon
|
||||||
|
|
||||||
# retrieve arguments
|
# retrieve arguments
|
||||||
path=$(sudo yunohost app setting $app path)
|
path=$(sudo yunohost app setting $app path)
|
||||||
stable=$(sudo yunohost app setting $app version)
|
stable=$(sudo yunohost app setting $app version)
|
||||||
is_public=$(sudo yunohost app setting $app is_public)
|
is_public=$(sudo yunohost app setting $app is_public)
|
||||||
|
|
||||||
# definie useful vars
|
# definie useful vars
|
||||||
app=bozon
|
|
||||||
parent_path=/var/www
|
parent_path=/var/www
|
||||||
data_path=/home/yunohost.app/$app
|
data_path=/home/yunohost.app/$app
|
||||||
final_path=$parent_path/$path
|
final_path=$parent_path/$path
|
||||||
|
|
Loading…
Add table
Reference in a new issue