Check that old version exists before deciding this is an upgrade
This commit is contained in:
parent
d5efcb359f
commit
f99574b723
|
@ -209,7 +209,7 @@ case "$1" in
|
|||
echo "Reconfiguration complete."
|
||||
else
|
||||
|
||||
if [[ "${OLDVERSION:0:3}" < "1.9" ]]; then
|
||||
if [ -n "$OLDVERSION" ] && [[ "${OLDVERSION:0:3}" < "1.9" ]]; then
|
||||
echo "Upgrades from Airtime versions before 1.9.0 are not supported. Please back up your files and perform a clean install."
|
||||
else
|
||||
|
||||
|
|
Loading…
Reference in New Issue