Revert "Move changes from test branch to upstream merge branch"

This reverts commit 3bbbffb688.
This commit is contained in:
Sam Heinz
2025-01-08 00:13:54 +10:00
parent 9263adb8cf
commit 3f899fd0fe
213 changed files with 1315 additions and 1741 deletions
+7 -7
View File
@@ -3,7 +3,7 @@
# Copyright (c) 2021-2024 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
@@ -17,17 +17,17 @@ msg_info "Installing Dependencies"
$STD apt-get install -y curl
$STD apt-get install -y sudo
$STD apt-get install -y mc
$STD apt-get install -y wget
$STD apt-get install -y openssh-server
$STD apt-get install -y wget
msg_ok "Installed Dependencies"
msg_info "Installing Gokapi"
LATEST=$(curl -sL https://api.github.com/repos/Forceu/Gokapi/releases/latest | grep '"tag_name":' | cut -d'"' -f4)
mkdir -p /opt/gokapi/{data,config}
wget -q https://github.com/Forceu/Gokapi/releases/download/$LATEST/gokapi-linux_arm64.zip
unzip -q gokapi-linux_arm64.zip -d /opt/gokapi
rm gokapi-linux_arm64.zip
chmod +x /opt/gokapi/gokapi-linux_arm64
wget -q https://github.com/Forceu/Gokapi/releases/download/$LATEST/gokapi-linux_amd64.zip
unzip -q gokapi-linux_amd64.zip -d /opt/gokapi
rm gokapi-linux_amd64.zip
chmod +x /opt/gokapi/gokapi-linux_amd64
msg_ok "Installed Gokapi"
msg_info "Creating Service"
@@ -39,7 +39,7 @@ Description=gokapi
Type=simple
Environment=GOKAPI_DATA_DIR=/opt/gokapi/data
Environment=GOKAPI_CONFIG_DIR=/opt/gokapi/config
ExecStart=/opt/gokapi/gokapi-linux_arm64
ExecStart=/opt/gokapi/gokapi-linux_amd64
[Install]
WantedBy=multi-user.target