From d85add1b2c70aba1958ebd6acec6a6459a691792 Mon Sep 17 00:00:00 2001 From: Stewart Bennell Date: Fri, 16 Jul 2021 10:11:48 +1000 Subject: [PATCH] Update patch.sh --- patch.sh | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/patch.sh b/patch.sh index 75e5ec1..99abefa 100644 --- a/patch.sh +++ b/patch.sh @@ -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