mirror of
https://github.com/YunoHost-Apps/photoview_ynh.git
synced 2024-09-03 20:05:55 +02:00
Fix bullseye
This commit is contained in:
parent
e5f08741b9
commit
c7c3ce4704
2 changed files with 6 additions and 2 deletions
|
@ -49,6 +49,9 @@ function set_go_vars {
|
|||
ynh_install_go --go_version=1.16
|
||||
ynh_use_go
|
||||
|
||||
export GOPATH="$final_path/build/go"
|
||||
export GOCACHE="$final_path/build/.cache"
|
||||
|
||||
go_shims_path=$goenv_install_dir/shims
|
||||
go_path_full="$go_shims_path":"$(sudo -u $app bash -c 'echo $PATH')"
|
||||
heif_lib_path="$final_path/local/lib":"$(sudo -u $app bash -c 'echo $LIBRARY_PATH')"
|
||||
|
|
|
@ -69,8 +69,6 @@ ynh_app_setting_set --app=$app --key=port --value=$port
|
|||
ynh_script_progression --message="Installing dependencies..." --weight=60
|
||||
|
||||
install_dependencies
|
||||
set_go_vars
|
||||
set_node_vars
|
||||
|
||||
#=================================================
|
||||
# CREATE DEDICATED USER
|
||||
|
@ -100,6 +98,9 @@ ynh_app_setting_set --app=$app --key=data_path --value=$data_path
|
|||
# Download, check integrity, uncompress and patch the source from app.src
|
||||
setup_sources
|
||||
|
||||
set_go_vars
|
||||
set_node_vars
|
||||
|
||||
#=================================================
|
||||
# NGINX CONFIGURATION
|
||||
#=================================================
|
||||
|
|
Loading…
Add table
Reference in a new issue