[Aria2] Make changes to port from ARM64 to AMD64

pull/2810/head
Sam Heinz 1 year ago
parent 9edb28a374
commit 1907a7c760
No known key found for this signature in database
GPG Key ID: C71634079A15FA88
  1. 2
      ct/aria2.sh
  2. 5
      install/aria2-install.sh

@ -1,5 +1,5 @@
#!/usr/bin/env bash #!/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 # Copyright (c) 2021-2024 tteck
# Author: tteck (tteckster) # Author: tteck (tteckster)
# License: MIT # License: MIT

@ -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

Loading…
Cancel
Save