1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/pleroma_ynh.git synced 2024-09-03 20:15:59 +02:00

Fix upgrade

This commit is contained in:
yalh76 2019-02-12 09:22:50 +01:00
parent 3ccdb7e263
commit 2864f13dbe

View file

@ -107,7 +107,10 @@ ynh_print_info "Download, check and unpack source"
# Download, check integrity, uncompress and patch the source from app.src
#ynh_setup_source "$final_path/$app"
( cd $final_path/$app && git pull --quiet )
pushd $final_path/$app
git reset --hard
git pull --quiet
popd
#=================================================
# NGINX CONFIGURATION