Browse Source

installer: fix macos error

pull/193/head
bol-van 11 months ago
parent
commit
3160bd5f79
  1. 5
      common/installer.sh

5
common/installer.sh

@ -76,7 +76,8 @@ check_system()
echo \* checking system echo \* checking system
SYSTEM="" SYSTEM=
SUBSYS=
SYSTEMCTL=$(whichq systemctl) SYSTEMCTL=$(whichq systemctl)
get_fwtype get_fwtype
@ -119,13 +120,13 @@ check_system()
exitp 5 exitp 5
fi fi
fi fi
linux_get_subsys
elif [ "$UNAME" = "Darwin" ]; then elif [ "$UNAME" = "Darwin" ]; then
SYSTEM=macos SYSTEM=macos
else else
echo easy installer only supports Linux and MacOS. check readme.txt for supported systems and manual setup info. echo easy installer only supports Linux and MacOS. check readme.txt for supported systems and manual setup info.
exitp 5 exitp 5
fi fi
linux_get_subsys
echo system is based on $SYSTEM echo system is based on $SYSTEM
[ -n "$info" ] && echo $info [ -n "$info" ] && echo $info
} }

Loading…
Cancel
Save