1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/vore_ynh.git synced 2024-09-03 20:36:07 +02:00

Update upgrade

This commit is contained in:
Éric Gaspar 2023-05-15 18:23:26 +02:00
parent 4c079c9a7d
commit f5d08919be

View file

@ -29,8 +29,10 @@ then
ynh_use_go
pushd $install_dir
git config --global --add safe.directory $install_dir
git pull https://git.j3s.sh/vore "$install_dir" --quiet
chown -R $app:www-data "$install_dir"
git config --system --add safe.directory $install_dir
ynh_exec_warn_less git pull https://git.j3s.sh/vore "$install_dir" --quiet
ynh_add_config --template="../conf/index.tmpl.html" --destination="$install_dir/files/index.tmpl.html"
ynh_exec_warn_less ynh_exec_as $app CGO_ENABLED=0 $ynh_go build -o $install_dir/
popd