diff --git a/install-onlyoffice.sh b/install-onlyoffice.sh index 3e2d61c93..1413cd4a6 100755 --- a/install-onlyoffice.sh +++ b/install-onlyoffice.sh @@ -28,7 +28,7 @@ main() { ask_for_license # Check if 'oldest_needed_version' is already set, if not, set it to v8 - if [ -z "${PROPS['oldest_needed_version']}" ]; then + if [ -z "${PROPS['oldest_needed_version']+set}" ]; then echo "'oldest_needed_version' is not set. Setting it to v8." set_prop "oldest_needed_version" "v8" else