mirror of
				https://github.com/community-scripts/ProxmoxVE.git
				synced 2025-11-03 18:02:50 +00:00 
			
		
		
		
	fix basename for curl
This commit is contained in:
		@@ -31,7 +31,7 @@ function update_script() {
 | 
			
		||||
    systemctl stop watchyourlan.service
 | 
			
		||||
    cp -R /data/config.yaml config.yaml
 | 
			
		||||
    RELEASE=$(curl -fsSL https://api.github.com/repos/aceberg/WatchYourLAN/releases/latest | grep -o '"tag_name": *"[^"]*"' | cut -d '"' -f 4)
 | 
			
		||||
curl -fsSL "https://github.com/aceberg/WatchYourLAN/releases/download/$RELEASE/watchyourlan_${RELEASE}_linux_amd64.deb" -O $(basename "https://github.com/aceberg/WatchYourLAN/releases/download/$RELEASE/watchyourlan_${RELEASE}_linux_amd64.deb")
 | 
			
		||||
    curl -fsSL "https://github.com/aceberg/WatchYourLAN/releases/download/$RELEASE/watchyourlan_${RELEASE}_linux_amd64.deb" -o $(basename"https://github.com/aceberg/WatchYourLAN/releases/download/$RELEASE/watchyourlan_${RELEASE}_linux_amd64.deb")
 | 
			
		||||
    dpkg -i watchyourlan_${RELEASE}_linux_amd64.deb
 | 
			
		||||
    cp -R config.yaml /data/config.yaml
 | 
			
		||||
    sed -i 's|/etc/watchyourlan/config.yaml|/data/config.yaml|' /lib/systemd/system/watchyourlan.service
 | 
			
		||||
@@ -48,4 +48,4 @@ description
 | 
			
		||||
msg_ok "Completed Successfully!\n"
 | 
			
		||||
echo -e "${CREATING}${GN}${APP} setup has been successfully initialized!${CL}"
 | 
			
		||||
echo -e "${INFO}${YW} Access it using the following URL:${CL}"
 | 
			
		||||
echo -e "${TAB}${GATEWAY}${BGN}http://${IP}:8840${CL}"
 | 
			
		||||
echo -e "${TAB}${GATEWAY}${BGN}http://${IP}:8840${CL}"
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user