fix adguardhome
This commit is contained in:
parent
4c1b51d54e
commit
97b5962d84
2 changed files with 4 additions and 3 deletions
|
@ -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
|
||||
|
|
|
@ -15,7 +15,8 @@ main(){
|
|||
configure_depot_nodejs
|
||||
install_package_dependency
|
||||
install_go
|
||||
get_git_source build
|
||||
get_git_source
|
||||
build
|
||||
makedeb
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue