Add wget and openssh dependencies

This commit is contained in:
Sam
2025-01-02 12:33:33 +10:00
parent e9f30734a3
commit d729c3e272
201 changed files with 797 additions and 194 deletions
+6
View File
@@ -17,16 +17,22 @@ msg_info "Installing Dependencies"
$STD apt-get install -y curl
$STD apt-get install -y sudo
$STD apt-get install -y mc
$STD apt-get install -y openssh-server
$STD apt-get install -y wget
msg_ok "Installed Dependencies"
msg_info "Installing Aria2"
$STD apt-get install -y aria2
$STD apt-get install -y openssh-server
$STD apt-get install -y wget
msg_ok "Installed Aria2"
read -r -p "Would you like to add AriaNG? <y/N> " prompt
if [[ ${prompt,,} =~ ^(y|yes)$ ]]; then
msg_info "Installing AriaNG"
$STD apt-get install -y nginx
$STD apt-get install -y openssh-server
$STD apt-get install -y wget
systemctl disable -q --now nginx
wget -q "$(curl -s https://api.github.com/repos/mayswind/ariang/releases/latest | grep download | grep AllInOne.zip | cut -d\" -f4)"
$STD unzip AriaNg-*-AllInOne.zip -d /var/www