From 97b5962d841f846718fd5b6c4b14561682387a79 Mon Sep 17 00:00:00 2001 From: thomas Date: Sat, 8 Oct 2022 04:57:50 +0200 Subject: [PATCH] fix adguardhome --- lib/exec_in_chroot.sh | 4 ++-- ressources/adguardhome/debmaker | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/lib/exec_in_chroot.sh b/lib/exec_in_chroot.sh index e7c46a8..7d84032 100755 --- a/lib/exec_in_chroot.sh +++ b/lib/exec_in_chroot.sh @@ -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 diff --git a/ressources/adguardhome/debmaker b/ressources/adguardhome/debmaker index 07a17c1..f927ceb 100755 --- a/ressources/adguardhome/debmaker +++ b/ressources/adguardhome/debmaker @@ -15,7 +15,8 @@ main(){ configure_depot_nodejs install_package_dependency install_go - get_git_source build + get_git_source + build makedeb }