Skip to content

Commit

Permalink
test fix bug
Browse files Browse the repository at this point in the history
  • Loading branch information
Jrohy committed Dec 2, 2018
1 parent a4d9c8b commit ab830a4
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions multi-v2ray.sh
Original file line number Diff line number Diff line change
Expand Up @@ -244,6 +244,9 @@ updateProject() {
#更新v2ray bash_completion脚本
cp -f $APP_PATH/v2ray.bash /etc/bash_completion.d/
source /etc/bash_completion.d/v2ray.bash

#替换换行符
sed -i -e 's/\r//g' $APP_PATH/v2ray

#安装/更新V2ray主程序
[[ ${INSTARLL_WAY} != 2 ]] && bash <(curl -L -s https://install.direct/go.sh)
Expand All @@ -267,6 +270,7 @@ timeSync() {


profileInit() {
rm -f /usr/local/bin/v2ray >/dev/null 2>&1
#配置V2ray初始环境
cp -f $APP_PATH/v2ray /usr/local/bin
chmod +x /usr/local/bin/v2ray
Expand Down
2 changes: 1 addition & 1 deletion v2ray
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/bash

SHELL_V2RAY="v2.5.0"
SHELL_V2RAY="v2.5.1"

#######color code########
RED="31m" # Error message
Expand Down

0 comments on commit ab830a4

Please sign in to comment.