From 3160bd5f794f37eec4b9ccbfceb7f664915bc52a Mon Sep 17 00:00:00 2001 From: bol-van Date: Sat, 4 May 2024 16:17:17 +0300 Subject: [PATCH] installer: fix macos error --- common/installer.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/common/installer.sh b/common/installer.sh index 94a7f28..fc39132 100644 --- a/common/installer.sh +++ b/common/installer.sh @@ -76,7 +76,8 @@ check_system() echo \* checking system - SYSTEM="" + SYSTEM= + SUBSYS= SYSTEMCTL=$(whichq systemctl) get_fwtype @@ -119,13 +120,13 @@ check_system() exitp 5 fi fi + linux_get_subsys elif [ "$UNAME" = "Darwin" ]; then SYSTEM=macos else echo easy installer only supports Linux and MacOS. check readme.txt for supported systems and manual setup info. exitp 5 fi - linux_get_subsys echo system is based on $SYSTEM [ -n "$info" ] && echo $info }