Move all upstream changes to repo

This commit is contained in:
Sam
2025-01-08 00:02:53 +10:00
parent 456bb08a2e
commit e2c43712ad
51 changed files with 2060 additions and 179 deletions
+6 -5
View File
@@ -1,9 +1,9 @@
#!/usr/bin/env bash
# Copyright (c) 2021-2024 tteck
# Copyright (c) 2021-2025 tteck
# Author: tteck (tteckster)
# License: MIT
# https://github.com/tteck/Proxmox/raw/main/LICENSE
# https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE
source /dev/stdin <<< "$FUNCTIONS_FILE_PATH"
color
@@ -25,8 +25,9 @@ msg_ok "Installed Dependencies"
msg_info "Installing Golang"
set +o pipefail
wget -q https://golang.org/dl/go1.22.2.linux-arm64.tar.gz
tar -xzf go1.22.2.linux-arm64.tar.gz -C /usr/local
RELEASE=$(curl -s https://go.dev/dl/ | grep -o "go.*\linux-arm64.tar.gz" | head -n 1)
wget -q https://golang.org/dl/$RELEASE
tar -xzf $RELEASE -C /usr/local
$STD ln -s /usr/local/go/bin/go /usr/local/bin/go
set -o pipefail
msg_ok "Installed Golang"
@@ -42,7 +43,7 @@ motd_ssh
customize
msg_info "Cleaning up"
rm -rf go1.22.2.linux-arm64.tar.gz
rm -rf $RELEASE
$STD apt-get -y autoremove
$STD apt-get -y autoclean
msg_ok "Cleaned"