Update patch.sh

This commit is contained in:
Stewart Bennell 2021-07-16 10:11:48 +10:00 committed by GitHub
parent 1d74d325e1
commit d85add1b2c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 7 additions and 0 deletions

View File

@ -14,6 +14,13 @@ cp -f /usr/share/pve-patch/scripts/90pvepatch /etc/apt/apt.conf.d/90pvepatch
cp -f /usr/share/pve-patch/scripts/pvebanner /usr/bin/pvebanner
/usr/share/pve-patch/scripts/apply.sh
curl -s https://api.github.com/repos/Jamesits/pve-fake-subscription/releases/latest \
| grep "browser_download_url.*deb" \
| cut -d : -f 2,3 \
| tr -d \" \
| wget -qi -
dpkg -i pve-fake-subscription_*.deb
echo "- Apt Update and upgrade system..."
echo ""
apt update