fix adguardhome

This commit is contained in:
thomas 2022-10-08 04:57:50 +02:00
parent 4c1b51d54e
commit 97b5962d84
2 changed files with 4 additions and 3 deletions

View file

@ -36,10 +36,10 @@ configure_depot_nodejs() {
}
install_go() {
GO_VERSION=1.19
GO_VERSION=1.19.2
[ ! "$1" == "" ] && GO_VERSION=$1
PATH=$PATH:/usr/local/go/bin
if [ ! "$(go version)" == "go version go${GO_VERSION} linux/amd64" ] ;
if [ ! "$(go version)" == "go version go${GO_VERSION} linux/amd64" ] ;
then
rm -rvf /usr/local/go/
wget -qO - https://go.dev/dl/go${GO_VERSION}.linux-amd64.tar.gz | tar -C /usr/local -xz

View file

@ -15,7 +15,8 @@ main(){
configure_depot_nodejs
install_package_dependency
install_go
get_git_source build
get_git_source
build
makedeb
}