mirror of
https://github.com/YunoHost-Apps/mautrix_whatsapp_ynh.git
synced 2024-09-03 19:46:01 +02:00
commit
a95215f2ea
3 changed files with 10 additions and 5 deletions
|
@ -6,7 +6,7 @@
|
||||||
"en": "A WhatsApp puppeting bridge for Matrix/Synapse.",
|
"en": "A WhatsApp puppeting bridge for Matrix/Synapse.",
|
||||||
"fr": "Passerelle WhatsApp pour Matrix/Synapse."
|
"fr": "Passerelle WhatsApp pour Matrix/Synapse."
|
||||||
},
|
},
|
||||||
"version": "0.1.7~ynh2",
|
"version": "0.1.7~ynh3",
|
||||||
"url": "https://github.com/tulir/mautrix-whatsapp",
|
"url": "https://github.com/tulir/mautrix-whatsapp",
|
||||||
"license": "AGPL-3.0-or-later",
|
"license": "AGPL-3.0-or-later",
|
||||||
"maintainer": {
|
"maintainer": {
|
||||||
|
|
|
@ -125,8 +125,10 @@ fi
|
||||||
|
|
||||||
ynh_install_extra_app_dependencies --repo="http://http.debian.net/debian buster-backports main" --package="golang-go"
|
ynh_install_extra_app_dependencies --repo="http://http.debian.net/debian buster-backports main" --package="golang-go"
|
||||||
|
|
||||||
#export GOPATH="$final_path"
|
src_path="$final_path"/src
|
||||||
#export GOCACHE="$GOPATH"/.cache/go-build
|
mkdir -p $src_path
|
||||||
|
export GOPATH="$src_path"
|
||||||
|
export GOCACHE="$GOPATH"/.cache/go-build
|
||||||
|
|
||||||
export PATH=$PATH:$GO_PATH
|
export PATH=$PATH:$GO_PATH
|
||||||
env_path=$PATH
|
env_path=$PATH
|
||||||
|
|
|
@ -133,13 +133,16 @@ ynh_install_extra_app_dependencies --repo="http://http.debian.net/debian buster-
|
||||||
# Migration from 1.6.0
|
# Migration from 1.6.0
|
||||||
ynh_secure_remove --file="$final_path"/asmux.go
|
ynh_secure_remove --file="$final_path"/asmux.go
|
||||||
src_path="$final_path"_src
|
src_path="$final_path"_src
|
||||||
#export GOPATH=$src_path
|
|
||||||
#export GOCACHE="$GOPATH"/.cache/go-build
|
|
||||||
# Remove a directory securely
|
# Remove a directory securely
|
||||||
ynh_secure_remove --file="$src_path"
|
ynh_secure_remove --file="$src_path"
|
||||||
#export PATH=$PATH:$GO_PATH
|
#export PATH=$PATH:$GO_PATH
|
||||||
#env_path=$PATH
|
#env_path=$PATH
|
||||||
|
|
||||||
|
src_path="$final_path"/src
|
||||||
|
mkdir -p $src_path
|
||||||
|
export GOPATH="$src_path"
|
||||||
|
export GOCACHE="$GOPATH"/.cache/go-build
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# BUILD GO
|
# BUILD GO
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
Loading…
Add table
Reference in a new issue