mirror of
https://github.com/midoks/mdserver-web.git
synced 2026-10-18 23:45:52 +08:00
Update install.sh
This commit is contained in:
@@ -22,12 +22,12 @@ Install_aria2()
|
||||
if [ "Darwin" == "$SYSOS" ];then
|
||||
echo 'macosx unavailable' > $install_tmp
|
||||
find_sh=`which aria2c`
|
||||
if [ ! -f $find_sh ];then
|
||||
if [ "$?" != "0" ];then
|
||||
brew install aria2
|
||||
fi
|
||||
else
|
||||
find_sh=`which aria2c`
|
||||
if [ ! -f $find_sh ];then
|
||||
if [ "$?" != "0" ];then
|
||||
yum install aria2 -y
|
||||
fi
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user