mirror of
https://github.com/tteck/Proxmox.git
synced 2025-02-15 06:09:15 +01:00
[Aria2] Move to /root dir when installing AriaNG
This commit is contained in:
parent
2d85f6a689
commit
382771d7c9
1 changed files with 1 additions and 0 deletions
|
@ -29,6 +29,7 @@ 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"
|
||||
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
|
||||
unzip "$(ls -l /root | grep zip$ | awk '{print $9}')" -d /var/www
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue