Fixed downloading issue for AutoSWAP
This commit is contained in:
parent
268ae8ec92
commit
a929f7ffd0
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue