From 1907a7c76011551653ee8fb508f0cacc10e2928e Mon Sep 17 00:00:00 2001 From: Sam Heinz <54530346+asylumexp@users.noreply.github.com> Date: Thu, 18 Apr 2024 17:48:48 +1000 Subject: [PATCH] [Aria2] Make changes to port from ARM64 to AMD64 --- ct/aria2.sh | 2 +- install/aria2-install.sh | 7 +++---- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/ct/aria2.sh b/ct/aria2.sh index 0e6662c4..51f601f9 100644 --- a/ct/aria2.sh +++ b/ct/aria2.sh @@ -1,5 +1,5 @@ #!/usr/bin/env bash -source <(curl -s https://raw.githubusercontent.com/asylumexp/Proxmox/main/misc/build.func) +source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/build.func) # Copyright (c) 2021-2024 tteck # Author: tteck (tteckster) # License: MIT diff --git a/install/aria2-install.sh b/install/aria2-install.sh index 6d06ffc8..f6364e42 100644 --- a/install/aria2-install.sh +++ b/install/aria2-install.sh @@ -17,9 +17,6 @@ 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 wget -$STD apt-get install -y unzip -$STD apt-get install -y nginx msg_ok "Installed Dependencies" msg_info "Installing Aria2" @@ -29,11 +26,13 @@ msg_ok "Installed Aria2" read -r -p "Would you like to add AriaNG? " prompt if [[ ${prompt,,} =~ ^(y|yes)$ ]]; then msg_info "Installing AriaNG" + $STD apt-get install -y nginx + $STD apt-get install -y unzip cd /root 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 $STD unzip "$(ls -l /root | grep zip$ | awk '{print $9}')" -d /var/www -cat </etc/nginx/conf.d/ariang.conf + cat </etc/nginx/conf.d/ariang.conf server { listen 6880 default_server; listen [::]:6880 default_server;