mirror of
https://github.com/YunoHost-Apps/invidious_ynh.git
synced 2024-09-03 19:15:55 +02:00
Update upgrade
This commit is contained in:
parent
dcb23e29c4
commit
1517febd9d
1 changed files with 3 additions and 0 deletions
|
@ -113,6 +113,9 @@ then
|
||||||
ynh_script_progression --message="Upgrading source files..." --weight=5
|
ynh_script_progression --message="Upgrading source files..." --weight=5
|
||||||
|
|
||||||
pushd $final_path
|
pushd $final_path
|
||||||
|
chown -R $app:www-data "$final_path"
|
||||||
|
git config --system --add safe.directory $final_path
|
||||||
|
|
||||||
ynh_exec_as $app git fetch
|
ynh_exec_as $app git fetch
|
||||||
#git checkout master
|
#git checkout master
|
||||||
ynh_exec_as $app git reset --hard --quiet $version_commit
|
ynh_exec_as $app git reset --hard --quiet $version_commit
|
||||||
|
|
Loading…
Reference in a new issue