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

Fix retrieve stable version

This commit is contained in:
ewilly 2016-04-17 20:14:49 +02:00
parent 17fbeec103
commit a540bb0aa2

View file

@ -36,7 +36,7 @@ if [ "$version" = "Latest" ];
then
sudo wget https://github.com/broncowdd/BoZoN/archive/master.zip -O $parent_path/master.zip
else
stable=$(curl https://github.com/ewilly/bozon_ynh/blob/master/BoZoN-stable)
stable=$(curl https://raw.githubusercontent.com/ewilly/bozon_ynh/master/BoZoN-stable)
sudo wget https://github.com/broncowdd/BoZoN/archive/$stable.zip -O $parent_path/master.zip
fi
sudo unzip $parent_path/master.zip -d $parent_path/