Update patch.sh

This commit is contained in:
sbennell 2019-11-13 18:14:28 +11:00
parent 72b8d56566
commit 4690ff4ee6
1 changed files with 3 additions and 1 deletions

View File

@ -3,7 +3,9 @@
mkdir -p /usr/share/pve-patch/{images,scripts} mkdir -p /usr/share/pve-patch/{images,scripts}
echo "- patch `pveversion`..." echo "- patch `pveversion`..."
echo "- download and copy files..." echo "- download and copy files..."
wget -nc -qP /usr/share/pve-patch/images/ https://raw.githubusercontent.com/sbennell/pve-patch/master/images/{favicon.ico,logo-128.png,proxmox_logo.png} wget -nc -qP /usr/share/pve-patch/images/ https://raw.githubusercontent.com/sbennell/pve-patch/master/images/favicon.ico
wget -nc -qP /usr/share/pve-patch/images/ https://raw.githubusercontent.com/sbennell/pve-patch/master/images/logo-128.png
wget -nc -qP /usr/share/pve-patch/images/ https://raw.githubusercontent.com/sbennell/pve-patch/master/images/proxmox_logo.png
rm -f /usr/share/pve-patch/scripts/{90pvepatch,apply.sh} rm -f /usr/share/pve-patch/scripts/{90pvepatch,apply.sh}
wget -qP /usr/share/pve-patch/scripts/ https://raw.githubusercontent.com/kosmonavtika/pve-patch/master/scripts/{90pvepatch,apply.sh} wget -qP /usr/share/pve-patch/scripts/ https://raw.githubusercontent.com/kosmonavtika/pve-patch/master/scripts/{90pvepatch,apply.sh}
chmod -R a+x /usr/share/pve-patch/scripts chmod -R a+x /usr/share/pve-patch/scripts