v1.00 of Installer
This commit is contained in:
parent
58d35fd07c
commit
1c067f8cdc
|
@ -871,7 +871,7 @@ function downloadUpdate {
|
||||||
if [[ -z "$SELF_UPDATED" ]]; then
|
if [[ -z "$SELF_UPDATED" ]]; then
|
||||||
TMPFILE=$(mktemp)
|
TMPFILE=$(mktemp)
|
||||||
echo "Downloading updated script..."
|
echo "Downloading updated script..."
|
||||||
curl -sSL "https://olympus.3volve.net.za/nextcloud/versiontest.sh" -o "$TMPFILE" || {
|
curl -sSL "https://git.zaks.web.za/thisiszeev/perfect-nextcloud-installer/raw/branch/main/debian-installer.sh" -o "$TMPFILE" || {
|
||||||
echo "Download failed... Continuing with current version..." >&2
|
echo "Download failed... Continuing with current version..." >&2
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
@ -1098,7 +1098,7 @@ fi
|
||||||
if [[ $p -lt 3 ]]; then
|
if [[ $p -lt 3 ]]; then
|
||||||
if [[ -z $SELF_UPDATED ]]; then
|
if [[ -z $SELF_UPDATED ]]; then
|
||||||
echo "Checking if there is a newer version of this installer script..."
|
echo "Checking if there is a newer version of this installer script..."
|
||||||
NEWVERSION=$(curl -sSL "https://olympus.3volve.net.za/nextcloud/VERSION")
|
NEWVERSION=$(curl -sSL "https://git.zaks.web.za/thisiszeev/perfect-nextcloud-installer/raw/branch/main/VERSION")
|
||||||
if [[ ! "$NEWVERSION" =~ ^[0-9]+(\.[0-9]+)*$ ]]; then
|
if [[ ! "$NEWVERSION" =~ ^[0-9]+(\.[0-9]+)*$ ]]; then
|
||||||
echo "Remote version could not be retrieved." >&2
|
echo "Remote version could not be retrieved." >&2
|
||||||
NEWVERSION="$VERSION"
|
NEWVERSION="$VERSION"
|
||||||
|
|
Loading…
Reference in New Issue