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

manage git upgrade

This commit is contained in:
yalh76 2019-02-12 10:08:38 +01:00 committed by GitHub
parent 674681c3c4
commit 4f9acbd3cc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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