1
0
Fork 0
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:
Éric Gaspar 2023-02-14 20:56:21 +01:00
parent dcb23e29c4
commit 1517febd9d

View file

@ -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