mirror of
https://github.com/YunoHost-Apps/vore_ynh.git
synced 2024-09-03 20:36:07 +02:00
fix
This commit is contained in:
parent
2a188fd99f
commit
4c079c9a7d
3 changed files with 3 additions and 2 deletions
|
@ -37,6 +37,7 @@ pushd $install_dir
|
||||||
ynh_exec_warn_less ynh_exec_as $app CGO_ENABLED=0 $ynh_go build -o $install_dir/
|
ynh_exec_warn_less ynh_exec_as $app CGO_ENABLED=0 $ynh_go build -o $install_dir/
|
||||||
popd
|
popd
|
||||||
|
|
||||||
|
ynh_remove_go
|
||||||
chmod +x "$install_dir/vore"
|
chmod +x "$install_dir/vore"
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
|
@ -27,8 +27,6 @@ ynh_remove_systemd_config
|
||||||
|
|
||||||
ynh_remove_nginx_config
|
ynh_remove_nginx_config
|
||||||
|
|
||||||
ynh_remove_go
|
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# END OF SCRIPT
|
# END OF SCRIPT
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
|
@ -35,6 +35,8 @@ then
|
||||||
ynh_exec_warn_less ynh_exec_as $app CGO_ENABLED=0 $ynh_go build -o $install_dir/
|
ynh_exec_warn_less ynh_exec_as $app CGO_ENABLED=0 $ynh_go build -o $install_dir/
|
||||||
popd
|
popd
|
||||||
|
|
||||||
|
ynh_remove_go
|
||||||
|
|
||||||
chown -R $app:www-data "$install_dir"
|
chown -R $app:www-data "$install_dir"
|
||||||
chmod +x "$install_dir/vore"
|
chmod +x "$install_dir/vore"
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Add table
Reference in a new issue