mirror of
https://github.com/community-scripts/ProxmoxVE.git
synced 2026-05-01 21:30:09 +00:00
fix basename for curl
This commit is contained in:
parent
0ed9e8c205
commit
f7e7d457df
207 changed files with 298 additions and 298 deletions
|
|
@ -15,7 +15,7 @@ update_os
|
|||
|
||||
RELEASE=$(curl -fsSL https://api.github.com/repos/juanfont/headscale/releases/latest | grep "tag_name" | awk '{print substr($2, 3, length($2)-4) }')
|
||||
msg_info "Installing ${APPLICATION} v${RELEASE}"
|
||||
curl -fsSL "https://github.com/juanfont/headscale/releases/download/v${RELEASE}/headscale_${RELEASE}_linux_amd64.deb" -O $(basename "https://github.com/juanfont/headscale/releases/download/v${RELEASE}/headscale_${RELEASE}_linux_amd64.deb")
|
||||
curl -fsSL "https://github.com/juanfont/headscale/releases/download/v${RELEASE}/headscale_${RELEASE}_linux_amd64.deb" -o $(basename"https://github.com/juanfont/headscale/releases/download/v${RELEASE}/headscale_${RELEASE}_linux_amd64.deb")
|
||||
$STD dpkg -i headscale_${RELEASE}_linux_amd64.deb
|
||||
systemctl enable -q --now headscale
|
||||
echo "${RELEASE}" >/opt/${APPLICATION}_version.txt
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue