fix gotify

new version for adguardhome authelia bitwarden-desktop element-web gitea gotify joplin mautrix-whatsapp metabase zigbee2mqtt rustdesk-server
This commit is contained in:
thomas 2022-08-05 04:46:20 +02:00
parent 5012543e4c
commit cc93246273
13 changed files with 34 additions and 31 deletions

View file

@ -1,6 +1,6 @@
#!/bin/bash
VERSION=1.16.9
VERSION=1.17.0
[ -e ./lib/function.sh ] && source ./lib/function.sh
@ -20,14 +20,12 @@ envinit() {
wget -qO - https://deb.nodesource.com/setup_16.x | bash
apt-get update
apt-get install -y nodejs
wget -qO - https://go.dev/dl/go1.17.7.linux-amd64.tar.gz | tar -C /usr/local -xz
wget -qO - https://go.dev/dl/go1.18.1.linux-amd64.tar.gz | tar -C /usr/local -xz
}
prebuild(){
[ -e /tmp/git ] && rm -fr /tmp/git
[ -e /tmp/${APP} ] || mkdir /tmp/${APP}
git clone --depth 1 -b ${GIT_VERSION} ${DEPOT} /tmp/git
cp -r /tmp/git/. /tmp/${APP}
[ -e /tmp/git ] && rm -fr /tmp/${APP}
git clone --depth 1 -b ${GIT_VERSION} ${DEPOT} /tmp/${APP}
}
build() {