mirror of
https://github.com/bol-van/zapret.git
synced 2024-11-26 12:10:53 +03:00
installer: fix macos error
This commit is contained in:
parent
1616c59303
commit
3160bd5f79
@ -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
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user