mirror of
https://github.com/community-scripts/ProxmoxVE
synced 2025-12-12 02:46:01 +00:00
fix basename for curl
This commit is contained in:
@@ -30,7 +30,7 @@ msg_info "Setup Semaphore"
|
||||
RELEASE=$(curl -fsSL https://api.github.com/repos/semaphoreui/semaphore/releases/latest | grep "tag_name" | awk '{print substr($2, 3, length($2)-4) }')
|
||||
mkdir -p /opt/semaphore
|
||||
cd /opt/semaphore
|
||||
curl -fsSL "https://github.com/semaphoreui/semaphore/releases/download/v${RELEASE}/semaphore_${RELEASE}_linux_amd64.deb" -O $(basename "https://github.com/semaphoreui/semaphore/releases/download/v${RELEASE}/semaphore_${RELEASE}_linux_amd64.deb")
|
||||
curl -fsSL "https://github.com/semaphoreui/semaphore/releases/download/v${RELEASE}/semaphore_${RELEASE}_linux_amd64.deb" -o $(basename"https://github.com/semaphoreui/semaphore/releases/download/v${RELEASE}/semaphore_${RELEASE}_linux_amd64.deb")
|
||||
$STD dpkg -i semaphore_${RELEASE}_linux_amd64.deb
|
||||
|
||||
SEM_HASH=$(openssl rand -base64 32)
|
||||
|
||||
Reference in New Issue
Block a user