Skip to content

Commit

Permalink
# v1.0.1 修复 检测安装状态问题
Browse files Browse the repository at this point in the history
  • Loading branch information
Toyo authored May 9, 2017
1 parent ceed5cd commit 0030c01
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions aria2.sh
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@ Installation_dependency(){
apt-get update
apt-get install aria2 curl unzip vim -y
fi
[[ ! -e ${aria2c} ]] && echo -e "${Error} Aria2 安装失败,请检查 !" && exit 1
}
Install_aria2(){
[[ -e ${aria2c} ]] && echo -e "${Error} Aria2 已安装,请检查 !" && exit 1
Expand Down

0 comments on commit 0030c01

Please sign in to comment.