Commit 45a46b09486a57a1a99fb4313610fb2fb4955633

Authored by Clang
Committed by GitHub
1 parent 26098d89
Exists in master

Update install_ngrok.sh

Showing 1 changed file with 3 additions and 4 deletions   Show diff stats
install_ngrok.sh
... ... @@ -74,9 +74,9 @@ function checkos(){
74 74 function getversion(){
75 75 if [[ -s /etc/redhat-release ]];then
76 76 grep -oE "[0-9.]+" /etc/redhat-release
77   - else
  77 + else
78 78 grep -oE "[0-9.]+" /etc/issue
79   - fi
  79 + fi
80 80 }
81 81 # CentOS version
82 82 function centosversion(){
... ... @@ -87,7 +87,7 @@ function centosversion(){
87 87 return 0
88 88 else
89 89 return 1
90   - fi
  90 + fi
91 91 }
92 92 # Check OS bit
93 93 function check_os_bit(){
... ... @@ -537,4 +537,3 @@ update)
537 537 echo "Usage: `basename $0` {install|uninstall|update|config}"
538 538 ;;
539 539 esac
540   -
... ...