mirror of
https://github.com/Websoft9/websoft9.git
synced 2024-11-25 17:10:27 +00:00
install os limit frdora
This commit is contained in:
parent
bddfada467
commit
802f1aa8af
1 changed files with 2 additions and 2 deletions
|
@ -100,14 +100,14 @@ if [ "$os_type" == 'Rocky Linux' ] ;then
|
|||
fi
|
||||
|
||||
if [ "$os_type" == 'Fedora' ];then
|
||||
if [ "$os_version" =~ ^[^37] ]; then
|
||||
if [ "$os_version" != "37" ]; then
|
||||
echo "This app only supported on Fedora 37"
|
||||
exit 1
|
||||
fi
|
||||
fi
|
||||
|
||||
if [ "$os_type" == 'Redhat' ];then
|
||||
if [ "$os_version" =~ ^[^8] ] and [ "$os_version" =~ ^[^7] ] ; then
|
||||
if [ "${os_version:0:1}" == "9" ]; then
|
||||
echo "This app only supported on Redhat 7,8"
|
||||
exit 1
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue