Commit fe3b17613067448fe9675f52025f4352eb34f37e

Authored by Clang
1 parent e55aaa92
Exists in master

Update install_ngrok.sh

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
install_ngrok.sh
... ... @@ -161,7 +161,7 @@ function pre_install(){
161 161 apt-get update -y
162 162 apt-get install -y wget build-essential mercurial nano curl openssl libcurl4-openssl-dev
163 163 fi
164   - mkdir -p ${str_ngrok_dir}
  164 + [ ! -d ${str_ngrok_dir}/bin/ ] && mkdir -p ${str_ngrok_dir}/bin/
165 165 cd ${str_ngrok_dir}
166 166 # Download shadowsocks chkconfig file
167 167 if [ "${Is_64bit}" == 'y' ] ; then
... ...