mirror of
https://github.com/community-scripts/ProxmoxVE.git
synced 2026-04-28 11:50:06 +00:00
fix basename for curl
This commit is contained in:
parent
0ed9e8c205
commit
f7e7d457df
207 changed files with 298 additions and 298 deletions
|
|
@ -22,7 +22,7 @@ if [[ ${prompt,,} =~ ^(y|yes)$ ]]; then
|
|||
msg_info "Installing AriaNG"
|
||||
$STD apt-get install -y nginx
|
||||
systemctl disable -q --now nginx
|
||||
curl -fsSL "$(curl -fsSL https://api.github.com/repos/mayswind/ariang/releases/latest | grep download | grep AllInOne.zip | cut -d\" -f4)" -O $(basename "$(curl -fsSL https://api.github.com/repos/mayswind/ariang/releases/latest | grep download | grep AllInOne.zip | cut -d\" -f4)")
|
||||
curl -fsSL "$(curl -fsSL https://api.github.com/repos/mayswind/ariang/releases/latest | grep download | grep AllInOne.zip | cut -d\" -f4)" -o $(basename"$(curl -fsSL 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
|
||||
rm /etc/nginx/sites-enabled/*
|
||||
cat <<EOF >/etc/nginx/conf.d/ariang.conf
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue