mirror of
				https://github.com/community-scripts/ProxmoxVE.git
				synced 2025-11-04 02:12:49 +00:00 
			
		
		
		
	fix basename -o
This commit is contained in:
		@@ -72,7 +72,7 @@ intel() {
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
  msg_info "Downloading the Intel Processor Microcode Package $microcode"
 | 
			
		||||
  curl -fsSL "http://ftp.debian.org/debian/pool/non-free-firmware/i/intel-microcode/$microcode" -o $(basename"http://ftp.debian.org/debian/pool/non-free-firmware/i/intel-microcode/$microcode")
 | 
			
		||||
  curl -fsSL "http://ftp.debian.org/debian/pool/non-free-firmware/i/intel-microcode/$microcode" -o $(basename "http://ftp.debian.org/debian/pool/non-free-firmware/i/intel-microcode/$microcode")
 | 
			
		||||
  msg_ok "Downloaded the Intel Processor Microcode Package $microcode"
 | 
			
		||||
 | 
			
		||||
  msg_info "Installing $microcode (Patience)"
 | 
			
		||||
@@ -116,7 +116,7 @@ amd() {
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
  msg_info "Downloading the AMD Processor Microcode Package $microcode"
 | 
			
		||||
  curl -fsSL "https://ftp.debian.org/debian/pool/non-free-firmware/a/amd64-microcode/$microcode" -o $(basename"https://ftp.debian.org/debian/pool/non-free-firmware/a/amd64-microcode/$microcode")
 | 
			
		||||
  curl -fsSL "https://ftp.debian.org/debian/pool/non-free-firmware/a/amd64-microcode/$microcode" -o $(basename "https://ftp.debian.org/debian/pool/non-free-firmware/a/amd64-microcode/$microcode")
 | 
			
		||||
  msg_ok "Downloaded the AMD Processor Microcode Package $microcode"
 | 
			
		||||
 | 
			
		||||
  msg_info "Installing $microcode (Patience)"
 | 
			
		||||
 
 | 
			
		||||
@@ -60,7 +60,7 @@ install() {
 | 
			
		||||
 | 
			
		||||
  msg_info "Setting up repository"
 | 
			
		||||
  $STD apt-get install -y debian-keyring
 | 
			
		||||
  curl -fsSL "https://repo.netdata.cloud/repos/repoconfig/debian/bookworm/netdata-repo_5-1+debian12_all.deb" -o $(basename"https://repo.netdata.cloud/repos/repoconfig/debian/bookworm/netdata-repo_5-1+debian12_all.deb")
 | 
			
		||||
  curl -fsSL "https://repo.netdata.cloud/repos/repoconfig/debian/bookworm/netdata-repo_5-1+debian12_all.deb" -o $(basename "https://repo.netdata.cloud/repos/repoconfig/debian/bookworm/netdata-repo_5-1+debian12_all.deb")
 | 
			
		||||
  $STD dpkg -i netdata-repo_5-1+debian12_all.deb
 | 
			
		||||
  rm -rf netdata-repo_5-1+debian12_all.deb
 | 
			
		||||
  msg_ok "Set up repository"
 | 
			
		||||
 
 | 
			
		||||
@@ -51,7 +51,7 @@ function msg_ok() {
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
msg_info "Installing ${APP}"
 | 
			
		||||
curl -fsSL "https://github.com/OliveTin/OliveTin/releases/latest/download/OliveTin_linux_amd64.deb" -o $(basename"https://github.com/OliveTin/OliveTin/releases/latest/download/OliveTin_linux_amd64.deb")
 | 
			
		||||
curl -fsSL "https://github.com/OliveTin/OliveTin/releases/latest/download/OliveTin_linux_amd64.deb" -o $(basename "https://github.com/OliveTin/OliveTin/releases/latest/download/OliveTin_linux_amd64.deb")
 | 
			
		||||
dpkg -i OliveTin_linux_amd64.deb &>/dev/null
 | 
			
		||||
systemctl enable --now OliveTin &>/dev/null
 | 
			
		||||
rm OliveTin_linux_amd64.deb
 | 
			
		||||
 
 | 
			
		||||
@@ -89,7 +89,7 @@ intel() {
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
  msg_info "Downloading Intel processor microcode package $microcode"
 | 
			
		||||
  curl -fsSL "http://ftp.debian.org/debian/pool/non-free-firmware/i/intel-microcode/$microcode" -o $(basename"http://ftp.debian.org/debian/pool/non-free-firmware/i/intel-microcode/$microcode")
 | 
			
		||||
  curl -fsSL "http://ftp.debian.org/debian/pool/non-free-firmware/i/intel-microcode/$microcode" -o $(basename "http://ftp.debian.org/debian/pool/non-free-firmware/i/intel-microcode/$microcode")
 | 
			
		||||
  msg_ok "Downloaded Intel processor microcode package $microcode"
 | 
			
		||||
 | 
			
		||||
  msg_info "Installing $microcode (this might take a while)"
 | 
			
		||||
@@ -136,7 +136,7 @@ amd() {
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
  msg_info "Downloading AMD processor microcode package $microcode"
 | 
			
		||||
  curl -fsSL "https://ftp.debian.org/debian/pool/non-free-firmware/a/amd64-microcode/$microcode" -o $(basename"https://ftp.debian.org/debian/pool/non-free-firmware/a/amd64-microcode/$microcode")
 | 
			
		||||
  curl -fsSL "https://ftp.debian.org/debian/pool/non-free-firmware/a/amd64-microcode/$microcode" -o $(basename "https://ftp.debian.org/debian/pool/non-free-firmware/a/amd64-microcode/$microcode")
 | 
			
		||||
  msg_ok "Downloaded AMD processor microcode package $microcode"
 | 
			
		||||
 | 
			
		||||
  msg_info "Installing $microcode (this might take a while)"
 | 
			
		||||
 
 | 
			
		||||
@@ -48,7 +48,7 @@ msg_ok "Installed Prerequisites"
 | 
			
		||||
LATEST=$(curl -fsSLL https://api.github.com/repos/webmin/webmin/releases/latest | grep '"tag_name":' | cut -d'"' -f4)
 | 
			
		||||
 | 
			
		||||
msg_info "Downloading Webmin"
 | 
			
		||||
curl -fsSL "https://github.com/webmin/webmin/releases/download/$LATEST/webmin_${LATEST}_all.deb" -o $(basename"https://github.com/webmin/webmin/releases/download/$LATEST/webmin_${LATEST}_all.deb")
 | 
			
		||||
curl -fsSL "https://github.com/webmin/webmin/releases/download/$LATEST/webmin_${LATEST}_all.deb" -o $(basename "https://github.com/webmin/webmin/releases/download/$LATEST/webmin_${LATEST}_all.deb")
 | 
			
		||||
msg_ok "Downloaded Webmin"
 | 
			
		||||
 | 
			
		||||
msg_info "Installing Webmin"
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user