Fixed downloading issue for AutoSWAP

This commit is contained in:
Ze'ev Schurmann 2025-05-07 07:49:29 +02:00
parent 268ae8ec92
commit a929f7ffd0
1 changed files with 2 additions and 2 deletions

View File

@ -1,6 +1,6 @@
#!/bin/bash
INSTALLERVERSION="1.01.02"
INSTALLERVERSION="1.01.03"
if [[ $(whoami) != "root" ]]; then
echo "You must be root to run this script!"
@ -210,7 +210,7 @@ function doREPORT {
}
function doSWAP {
wget "https://git.zaks.web.za/thisiszeev/linux-server-tools/releases/download/autoswap/autoswap-v1.01.01.zip" > /dev/null 2>> installer-errors.log || failMsg "Failed to download Auto SWAP..."
wget "https://git.zaks.web.za/thisiszeev/linux-server-tools/archive/autoswap-v1.01.01.zip" > /dev/null 2>> installer-errors.log || failMsg "Failed to download Auto SWAP..."
mkdir autoswap
unzip autoswap-v1.01.01.zip -d ./autoswap
mkdir /etc/autoswap