Skip to content

Commit

Permalink
fix bug
Browse files Browse the repository at this point in the history
  • Loading branch information
helloxz committed Feb 28, 2020
1 parent 42b3c69 commit c95a27a
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion ccaa.sh
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ function setout(){
sudo apt-get install -y curl make bzip2 gzip wget unzip
fi
#创建临时目录
cd
mkdir ./ccaa_tmp
#进入临时目录
cd ./ccaa_tmp
Expand All @@ -44,20 +45,23 @@ function install_aria2(){
tar jxvf aria2-1.35.0-linux-gnu-64bit-build1.tar.bz2
cd aria2-1.35.0-linux-gnu-64bit-build1
make install
cd ..
cd
}

#安装File Browser文件管理器
function install_file_browser(){
cd ./ccaa_tmp
#下载File Browser
wget https://github.com/filebrowser/filebrowser/releases/download/v2.1.0/linux-amd64-filebrowser.tar.gz
#解压
tar -zxvf linux-amd64-filebrowser.tar.gz
#移动位置
mv filebrowser /usr/sbin
cd
}
#处理配置文件
function dealconf(){
cd ./ccaa_tmp
#下载CCAA项目
wget https://github.com/helloxz/ccaa/archive/master.zip
#解压
Expand All @@ -70,6 +74,7 @@ function dealconf(){
chmod +x /etc/ccaa/upbt.sh
chmod +x ccaa-master/ccaa
cp ccaa-master/ccaa /usr/sbin
cd
}
#自动放行端口
function chk_firewall(){
Expand Down

0 comments on commit c95a27a

Please sign in to comment.