mirror of
https://github.com/YunoHost-Apps/mautrix_whatsapp_ynh.git
synced 2024-09-03 19:46:01 +02:00
parent
1a8d14cf4c
commit
b099dccfe8
1 changed files with 6 additions and 4 deletions
|
@ -147,7 +147,8 @@ ynh_script_progression --message="Installing dependencies..." --time --weight=1
|
||||||
### - As well as the section "REINSTALL DEPENDENCIES" in the restore script
|
### - As well as the section "REINSTALL DEPENDENCIES" in the restore script
|
||||||
### - And the section "UPGRADE DEPENDENCIES" in the upgrade script
|
### - And the section "UPGRADE DEPENDENCIES" in the upgrade script
|
||||||
|
|
||||||
ynh_install_extra_app_dependencies --repo="http://http.debian.net/debian stretch-backports main" --package="golang-1.11"
|
#ynh_install_extra_app_dependencies --repo="http://http.debian.net/debian stretch-backports main" --package="golang-1.11"
|
||||||
|
ynh_install_extra_app_dependencies --repo="http://http.debian.net/debian stretch-backports main" --package="golang"
|
||||||
#ynh_install_extra_app_dependencies --repo="http://http.debian.net/debian $(lsb_release -sc)" --package="golang-1.11"
|
#ynh_install_extra_app_dependencies --repo="http://http.debian.net/debian $(lsb_release -sc)" --package="golang-1.11"
|
||||||
|
|
||||||
ynh_install_app_dependencies $pkg_dependencies
|
ynh_install_app_dependencies $pkg_dependencies
|
||||||
|
@ -204,14 +205,15 @@ ynh_setup_source --dest_dir="$final_path"
|
||||||
|
|
||||||
# Build mautrix-whatsapp
|
# Build mautrix-whatsapp
|
||||||
base_directory=$PWD
|
base_directory=$PWD
|
||||||
#export GOPATH="$final_path"
|
#export GOPATH="$final_path"_src
|
||||||
#export GOCACHE="$final_path/.cache/go-build"
|
#export GOCACHE="$final_path/.cache/go-build"
|
||||||
cd $final_path
|
cd $final_path
|
||||||
export PATH=$PATH:$GO_PATH
|
#export PATH=$PATH:$GO_PATH
|
||||||
go build
|
go build
|
||||||
#$GO_PATH/go build
|
#$GO_PATH/go build
|
||||||
cd $base_directory
|
cd $base_directory
|
||||||
#sudo ln -s "$final_path"_src/src/github.com/gogits/gogs $final_path
|
#sudo ln -s "$final_path"_src $final_path
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue