mirror of
https://github.com/bol-van/zapret.git
synced 2024-11-26 20:20: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
|
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…
Reference in New Issue
Block a user