mirror of
https://github.com/YunoHost-Apps/turtl_ynh.git
synced 2024-09-03 20:26:35 +02:00
Fix
This commit is contained in:
parent
8c6fa4dd6f
commit
19910427ef
2 changed files with 7 additions and 2 deletions
|
@ -8,6 +8,7 @@
|
||||||
pkg_dependencies="postgresql postgresql-contrib"
|
pkg_dependencies="postgresql postgresql-contrib"
|
||||||
|
|
||||||
nodejs_version=12
|
nodejs_version=12
|
||||||
|
version_commit=0e59ee0a47fc5937600999d14ceb1aca6392aec8
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# PERSONAL HELPERS
|
# PERSONAL HELPERS
|
||||||
|
|
|
@ -80,8 +80,12 @@ if [ "$upgrade_type" == "UPGRADE_APP" ]
|
||||||
then
|
then
|
||||||
ynh_script_progression --message="Upgrading source files..." --weight=2
|
ynh_script_progression --message="Upgrading source files..." --weight=2
|
||||||
|
|
||||||
# Download, check integrity, uncompress and patch the source from app.src
|
pushd $final_path
|
||||||
git pull https://github.com/turtl/server "$final_path" --quiet
|
git fetch
|
||||||
|
#git checkout master
|
||||||
|
git reset --hard --quiet $version_commit
|
||||||
|
git pull
|
||||||
|
popd
|
||||||
fi
|
fi
|
||||||
|
|
||||||
chmod 750 "$final_path"
|
chmod 750 "$final_path"
|
||||||
|
|
Loading…
Reference in a new issue