1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/turtl_ynh.git synced 2024-09-03 20:26:35 +02:00
This commit is contained in:
ericgaspar 2021-11-25 15:04:37 +01:00
parent 8c6fa4dd6f
commit 19910427ef
No known key found for this signature in database
GPG key ID: 574F281483054D44
2 changed files with 7 additions and 2 deletions

View file

@ -8,6 +8,7 @@
pkg_dependencies="postgresql postgresql-contrib"
nodejs_version=12
version_commit=0e59ee0a47fc5937600999d14ceb1aca6392aec8
#=================================================
# PERSONAL HELPERS

View file

@ -80,8 +80,12 @@ if [ "$upgrade_type" == "UPGRADE_APP" ]
then
ynh_script_progression --message="Upgrading source files..." --weight=2
# Download, check integrity, uncompress and patch the source from app.src
git pull https://github.com/turtl/server "$final_path" --quiet
pushd $final_path
git fetch
#git checkout master
git reset --hard --quiet $version_commit
git pull
popd
fi
chmod 750 "$final_path"