v1.1
This commit is contained in:
parent
e019edfe1b
commit
76280be844
|
@ -1101,10 +1101,10 @@ if [[ $p -lt 3 ]]; then
|
||||||
NEWVERSION=$(curl -sSL "https://git.zaks.web.za/thisiszeev/perfect-nextcloud-installer/raw/branch/main/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="$INSTALLERVERSION"
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
if compareVersions "$VERSION" "$NEWVERSION" || [[ $SELF_UPDATED == 1 ]]; then
|
if compareVersions "$INSTALLERVERSION" "$NEWVERSION" || [[ $SELF_UPDATED == 1 ]]; then
|
||||||
downloadUpdate
|
downloadUpdate
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in New Issue