From 02a4dd8844dd7a3001b831d8eda440e30c020f93 Mon Sep 17 00:00:00 2001 From: AAAMON Date: Wed, 14 May 2025 13:54:06 +0300 Subject: [PATCH] Fix oo install script crashing at first run --- install-onlyoffice.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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