Skip to content

Commit

Permalink
优化脚本升级
Browse files Browse the repository at this point in the history
  • Loading branch information
YLWS-4617 committed Mar 13, 2017
1 parent ff8ee7c commit eb14701
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions dev.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,8 @@ done

if [[ $devc == 1 ]];then
rm -rf /usr/local/bin/ssr
rm -rf /usr/local/SSR-Bash-Python
cd /usr/local
git clone https://github.com/FunctionClub/SSR-Bash-Python
cd /usr/local/SSR-Bash-Python/
git pull
mv /usr/local/SSR-Bash-Python/ssr /usr/local/bin/
chmod +x /usr/local/bin/ssr
echo 'SSR-Bash升级成功!'
Expand Down

0 comments on commit eb14701

Please sign in to comment.