|
|
@ -17,9 +17,6 @@ msg_info "Installing Dependencies" |
|
|
|
$STD apt-get install -y curl |
|
|
|
$STD apt-get install -y curl |
|
|
|
$STD apt-get install -y sudo |
|
|
|
$STD apt-get install -y sudo |
|
|
|
$STD apt-get install -y mc |
|
|
|
$STD apt-get install -y mc |
|
|
|
$STD apt-get install -y wget |
|
|
|
|
|
|
|
$STD apt-get install -y unzip |
|
|
|
|
|
|
|
$STD apt-get install -y nginx |
|
|
|
|
|
|
|
msg_ok "Installed Dependencies" |
|
|
|
msg_ok "Installed Dependencies" |
|
|
|
|
|
|
|
|
|
|
|
msg_info "Installing Aria2" |
|
|
|
msg_info "Installing Aria2" |
|
|
@ -29,6 +26,8 @@ msg_ok "Installed Aria2" |
|
|
|
read -r -p "Would you like to add AriaNG? <y/N> " prompt |
|
|
|
read -r -p "Would you like to add AriaNG? <y/N> " prompt |
|
|
|
if [[ ${prompt,,} =~ ^(y|yes)$ ]]; then |
|
|
|
if [[ ${prompt,,} =~ ^(y|yes)$ ]]; then |
|
|
|
msg_info "Installing AriaNG" |
|
|
|
msg_info "Installing AriaNG" |
|
|
|
|
|
|
|
$STD apt-get install -y nginx |
|
|
|
|
|
|
|
$STD apt-get install -y unzip |
|
|
|
cd /root |
|
|
|
cd /root |
|
|
|
mkdir -p /var/www |
|
|
|
mkdir -p /var/www |
|
|
|
wget -q "$(curl -s https://api.github.com/repos/mayswind/ariang/releases/latest | grep download | grep AllInOne.zip | cut -d\" -f4)" -O /root/ariang.zip |
|
|
|
wget -q "$(curl -s https://api.github.com/repos/mayswind/ariang/releases/latest | grep download | grep AllInOne.zip | cut -d\" -f4)" -O /root/ariang.zip |
|
|
|