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:
parent
4c079c9a7d
commit
f5d08919be
1 changed files with 4 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue