mirror of
https://github.com/ME1312/SubServers-2.git
synced 2024-11-22 10:15:52 +01:00
Update purpur download location
This commit is contained in:
parent
594ba30c64
commit
a3896eccd4
@ -29,7 +29,7 @@ if [[ -f "Purpur.jar" ]]; then
|
|||||||
fi
|
fi
|
||||||
mv Purpur.jar Purpur.old.jar.x
|
mv Purpur.jar Purpur.old.jar.x
|
||||||
fi
|
fi
|
||||||
__DL Purpur.jar "https://purpur.pl3x.net/api/v1/purpur/$version/latest/download"; __RETURN=$?
|
__DL Purpur.jar "https://api.pl3x.net/v2/purpur/$version/latest/download"; __RETURN=$?
|
||||||
if [[ $__RETURN -eq 0 ]]; then
|
if [[ $__RETURN -eq 0 ]]; then
|
||||||
if [[ $(stat -c%s "Purpur.jar") -ge 1000000 ]]; then
|
if [[ $(stat -c%s "Purpur.jar") -ge 1000000 ]]; then
|
||||||
echo Cleaning Up...
|
echo Cleaning Up...
|
||||||
|
Loading…
Reference in New Issue
Block a user