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:39:15 +02:00
parent 67ce08be00
commit f3c7ca100a

View file

@ -20,6 +20,9 @@ final_path=$parent_path/$path
# retrieve stable version of bozon
stable=$(cat ../BoZoN-stable)
# save app settings
sudo yunohost app setting $app version -v "$stable"
# download stable version of bozon
sudo wget https://github.com/broncowdd/BoZoN/archive/$stable.zip -O $parent_path/bozon-$stable.zip
sudo unzip $parent_path/bozon-$stable.zip -d $parent_path/