1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/sharkey_ynh.git synced 2024-09-03 20:16:32 +02:00

Fix upgrade

This commit is contained in:
oufmilo 2024-05-23 20:25:12 +02:00
parent df10ce3680
commit 85f56ed9d3

View file

@ -33,6 +33,10 @@ then
pushd $install_dir pushd $install_dir
chown -R $app:www-data "$install_dir" chown -R $app:www-data "$install_dir"
ynh_exec_warn_less ynh_exec_as $app git config --global --add safe.directory "$install_dir"
ynh_exec_warn_less ynh_exec_as $app git config --global --add safe.directory "$install_dir/fluent-emojis"
ynh_exec_warn_less ynh_exec_as $app git config --global --add safe.directory "$install_dir/misskey-assets"
ynh_exec_warn_less ynh_exec_as $app git config --global --add safe.directory "$install_dir/tossface-emojis"
ynh_exec_warn_less ynh_exec_as $app git checkout stable ynh_exec_warn_less ynh_exec_as $app git checkout stable
ynh_exec_warn_less ynh_exec_as $app git pull --recurse-submodules ynh_exec_warn_less ynh_exec_as $app git pull --recurse-submodules
popd popd