Update patch.sh
This commit is contained in:
parent
5e70d40203
commit
70d24d500c
4
patch.sh
4
patch.sh
|
|
@ -3,10 +3,10 @@
|
||||||
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://github.com/sbennell/pve-patch/tree/master/images/{favicon.ico,logo-128.png,proxmox_logo.png}
|
wget -nc -qP /usr/share/pve-patch/images/ https://github.com/sbennell/pve-patch/raw/master/images/{favicon.ico,logo-128.png,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/sbennell/pve-patch/master/scripts/{90pvepatch,apply.sh}
|
wget -qP /usr/share/pve-patch/scripts/ https://raw.githubusercontent.com/sbennell/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
|
||||||
cp -f /usr/share/pve-patch/scripts/90pvepatch /etc/apt/apt.conf.d/90pvepatch
|
cp -f /usr/share/pve-patch/scripts/90pvepatch /etc/apt/apt.conf.d/90pvepatch
|
||||||
/usr/share/pve-patch/scripts/apply.sh
|
/usr/share/pve-patch/scripts/apply.sh
|
||||||
echo "- done!"
|
echo "- done!"
|
||||||
Loading…
Reference in New Issue