Compare commits

...

15 Commits

Author SHA1 Message Date
c2c2e4030e Update CHANGELOG.md (#6091)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-07-20 00:16:17 +00:00
268d692281 Update versions.json (#6090)
Co-authored-by: GitHub Actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-07-20 02:15:52 +02:00
3547552c23 Update CHANGELOG.md (#6089)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-07-19 22:13:19 +00:00
3579c93d80 Update CHANGELOG.md (#6085)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-07-19 13:49:46 +00:00
65e0ed2976 Fixed nag script on ProxMox 8.4.5 (#6084) 2025-07-19 15:49:23 +02:00
2bd9f4a7c6 Update versions.json (#6083)
Co-authored-by: GitHub Actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-07-19 14:04:45 +02:00
f56489cb07 Update cloudreve.json (#6080) 2025-07-19 08:53:17 +02:00
852bfbd71c Update CHANGELOG.md (#6077)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-07-19 00:14:38 +00:00
255bd7a803 Update versions.json (#6076)
Co-authored-by: GitHub Actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-07-19 02:14:15 +02:00
ffe774dc4c Update CHANGELOG.md (#6075)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-07-18 17:27:45 +00:00
2f08a8623b Bar-Assistant: add Cocktail Prebuild-Data (#6068) 2025-07-18 19:27:29 +02:00
1af6cc6b54 ErsatzTV: use project prebuild ffmpeg version (#6067) 2025-07-18 19:27:06 +02:00
0113c7e7fd Update CHANGELOG.md (#6074)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-07-18 17:25:57 +00:00
745533759a AdventureLog: add backup folder before update (#6066) 2025-07-18 19:25:34 +02:00
c62b244569 Update versions.json (#6071)
Co-authored-by: GitHub Actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-07-18 14:06:51 +02:00
8 changed files with 229 additions and 152 deletions

View File

@ -10,8 +10,29 @@
> [!CAUTION]
Exercise vigilance regarding copycat or coat-tailing sites that seek to exploit the project's popularity for potentially malicious purposes.
## 2025-07-20
## 2025-07-19
### 🚀 Updated Scripts
- #### 🐞 Bug Fixes
- Fixed nag script on ProxMox 8.4.5 [@imcrazytwkr](https://github.com/imcrazytwkr) ([#6084](https://github.com/community-scripts/ProxmoxVE/pull/6084))
## 2025-07-18
### 🚀 Updated Scripts
- #### 🐞 Bug Fixes
- AdventureLog: add backup folder before update [@MickLesk](https://github.com/MickLesk) ([#6066](https://github.com/community-scripts/ProxmoxVE/pull/6066))
- #### ✨ New Features
- Bar-Assistant: add Cocktail database [@MickLesk](https://github.com/MickLesk) ([#6068](https://github.com/community-scripts/ProxmoxVE/pull/6068))
- ErsatzTV: use project prebuild ffmpeg version [@MickLesk](https://github.com/MickLesk) ([#6067](https://github.com/community-scripts/ProxmoxVE/pull/6067))
## 2025-07-17
### 🆕 New Scripts

View File

@ -35,26 +35,29 @@ function update_script() {
systemctl stop adventurelog-frontend
msg_ok "Services Stopped"
msg_info "Backup Old Installation"
mkdir -p /opt/adventurelog-backup
cp /opt/adventurelog/backend/server/.env /opt/adventurelog-backup/backend/server/.env
cp -r /opt/adventurelog/backend/server/media /opt/adventurelog-backup/backend/server/media
cp /opt/adventurelog/frontend/.env /opt/adventurelog-backup/frontend/.env
msg_ok "Backup done"
fetch_and_deploy_gh_release "adventurelog" "seanmorley15/adventurelog"
PYTHON_VERSION="3.12" setup_uv
msg_info "Updating ${APP} to v${RELEASE}"
# Backend Migration
cp /opt/adventurelog-backup/backend/server/.env /opt/adventurelog/backend/server/.env
cp -r /opt/adventurelog-backup/backend/server/media /opt/adventurelog/backend/server/media
cd /opt/adventurelog/backend/server
if [[ ! -x .venv/bin/python ]]; then
$STD uv venv .venv
$STD .venv/bin/python -m ensurepip --upgrade
fi
$STD .venv/bin/python -m pip install --upgrade pip
$STD .venv/bin/python -m pip install -r requirements.txt
$STD .venv/bin/python -m manage collectstatic --noinput
$STD .venv/bin/python -m manage migrate
# Frontend Migration
cp /opt/adventurelog-backup/frontend/.env /opt/adventurelog/frontend/.env
cd /opt/adventurelog/frontend
$STD pnpm i
@ -68,7 +71,6 @@ function update_script() {
msg_ok "Services Started"
msg_info "Cleaning Up"
rm -rf /opt/v${RELEASE}.zip
rm -rf /opt/adventurelog-backup
msg_ok "Cleaned"

View File

@ -26,13 +26,14 @@ function update_script() {
msg_error "No ${APP} Installation Found!"
exit
fi
RELEASE=$(curl -fsSL https://api.github.com/repos/ErsatzTV/ErsatzTV/releases | grep -oP '"tag_name": "\K[^"]+' | head -n 1)
RELEASE=$(curl -fsSL https://api.github.com/repos/ErsatzTV/ErsatzTV/releases | grep -oP '"tag_name": "\Kv\K[^"]+' | head -n1)
RELEASE_FFMPEG=$(curl -fsSL https://api.github.com/repos/ErsatzTV/ErsatzTV-ffmpeg/releases | grep -oP '"tag_name": "\K[^"]+' | head -n 1)
if [[ "${RELEASE}" != "$(cat ~/.ersatztv 2>/dev/null)" ]] || [[ ! -f ~/.ersatztv ]]; then
msg_info "Stopping ErsatzTV"
systemctl stop ersatzTV
msg_ok "Stopped ErsatzTV"
FFMPEG_VERSION="latest" FFMPEG_TYPE="medium" setup_ffmpeg
fetch_and_deploy_gh_release "ersatztv" "ErsatzTV/ErsatzTV" "prebuild" "latest" "/opt/ErsatzTV" "*linux-x64.tar.gz"
msg_info "Starting ErsatzTV"
@ -43,6 +44,29 @@ function update_script() {
else
msg_ok "No update required. ${APP} is already at ${RELEASE}"
fi
if [[ "${RELEASE_FFMPEG}" != "$(cat ~/.ersatztv-ffmpeg 2>/dev/null)" ]] || [[ ! -f ~/.ersatztv-ffmpeg ]]; then
msg_info "Stopping ErsatzTV"
systemctl stop ersatzTV
msg_ok "Stopped ErsatzTV"
fetch_and_deploy_gh_release "ersatztv-ffmpeg" "ErsatzTV/ErsatzTV-ffmpeg" "prebuild" "latest" "/opt/ErsatzTV-ffmpeg" "*-linux64-gpl-7.1.tar.xz"
msg_info "Set ErsatzTV-ffmpeg links"
chmod +x /opt/ErsatzTV-ffmpeg/bin/*
ln -sf /opt/ErsatzTV-ffmpeg/bin/ffmpeg /usr/local/bin/ffmpeg
ln -sf /opt/ErsatzTV-ffmpeg/bin/ffplay /usr/local/bin/ffplay
ln -sf /opt/ErsatzTV-ffmpeg/bin/ffprobe /usr/local/bin/ffprobe
msg_ok "ffmpeg links set"
msg_info "Starting ErsatzTV"
systemctl start ersatzTV
msg_ok "Started ErsatzTV"
msg_ok "Updated Successfully"
else
msg_ok "No update required. ErsatzTV-ffmpeg is already at ${RELEASE_FFMPEG}"
fi
exit
}

View File

@ -12,7 +12,7 @@
"documentation": "https://docs.cloudreve.org/en/",
"website": "https://cloudreve.org/",
"logo": "https://cdn.jsdelivr.net/gh/selfhst/icons/webp/cloudreve.webp",
"config_path": "/opt/cloudreve/data/config.ini",
"config_path": "/opt/cloudreve/data/conf.ini",
"description": "Cloudreve is an open-source, community-driven cloud storage system that provides file sharing, synchronization, and management features. It supports a wide range of storage backends and integrates with various notification and logging platforms.",
"install_methods": [
{

View File

@ -1,4 +1,144 @@
[
{
"name": "fallenbagel/jellyseerr",
"version": "preview-fix-proxy-interceptors",
"date": "2025-07-19T22:14:56Z"
},
{
"name": "Luligu/matterbridge",
"version": "3.1.5",
"date": "2025-07-19T21:50:47Z"
},
{
"name": "ellite/Wallos",
"version": "v3.3.1",
"date": "2025-07-19T20:51:00Z"
},
{
"name": "pelican-dev/panel",
"version": "v1.0.0-beta23",
"date": "2025-07-19T19:49:28Z"
},
{
"name": "pelican-dev/wings",
"version": "v1.0.0-beta15",
"date": "2025-07-19T19:46:52Z"
},
{
"name": "MediaBrowser/Emby.Releases",
"version": "4.9.1.2",
"date": "2025-06-26T22:08:00Z"
},
{
"name": "open-webui/open-webui",
"version": "v0.6.18",
"date": "2025-07-19T19:26:14Z"
},
{
"name": "msgbyte/tianji",
"version": "v1.24.3",
"date": "2025-07-19T13:12:44Z"
},
{
"name": "bunkerity/bunkerweb",
"version": "v1.6.2",
"date": "2025-07-08T13:52:33Z"
},
{
"name": "pocketbase/pocketbase",
"version": "v0.29.0",
"date": "2025-07-19T08:54:54Z"
},
{
"name": "Paymenter/Paymenter",
"version": "v1.2.4",
"date": "2025-07-19T07:42:25Z"
},
{
"name": "morpheus65535/bazarr",
"version": "v1.5.3-beta.10",
"date": "2025-07-15T06:07:03Z"
},
{
"name": "Jackett/Jackett",
"version": "v0.22.2165",
"date": "2025-07-19T05:55:51Z"
},
{
"name": "steveiliop56/tinyauth",
"version": "v3.6.2",
"date": "2025-07-17T12:08:03Z"
},
{
"name": "esphome/esphome",
"version": "2025.7.2",
"date": "2025-07-19T00:05:00Z"
},
{
"name": "minio/minio",
"version": "RELEASE.2025-07-18T21-56-31Z",
"date": "2025-07-18T23:56:46Z"
},
{
"name": "Brandawg93/PeaNUT",
"version": "v5.9.4",
"date": "2025-07-18T21:50:31Z"
},
{
"name": "rcourtman/Pulse",
"version": "v3.42.0",
"date": "2025-07-14T22:07:28Z"
},
{
"name": "keycloak/keycloak",
"version": "26.2.6",
"date": "2025-07-17T11:16:34Z"
},
{
"name": "homarr-labs/homarr",
"version": "v1.29.0",
"date": "2025-07-18T19:17:21Z"
},
{
"name": "theonedev/onedev",
"version": "v12.0.1",
"date": "2025-07-18T15:02:25Z"
},
{
"name": "TandoorRecipes/recipes",
"version": "1.5.35",
"date": "2025-06-22T08:30:10Z"
},
{
"name": "openhab/openhab-core",
"version": "5.0.0.RC1",
"date": "2025-07-18T13:17:28Z"
},
{
"name": "wazuh/wazuh",
"version": "coverity-w29-4.13.0",
"date": "2025-07-16T12:35:22Z"
},
{
"name": "n8n-io/n8n",
"version": "n8n@1.102.4",
"date": "2025-07-17T11:27:58Z"
},
{
"name": "emqx/emqx",
"version": "e6.0.0-M1.202507-rc.1",
"date": "2025-07-18T07:48:52Z"
},
{
"name": "meilisearch/meilisearch",
"version": "prototype-chat-completions-with-filters-0",
"date": "2025-07-16T08:54:57Z"
},
{
"name": "ollama/ollama",
"version": "v0.9.7-rc1",
"date": "2025-07-11T22:15:00Z"
},
{
"name": "cross-seed/cross-seed",
"version": "v6.13.1",
@ -34,11 +174,6 @@
"version": "2.0.7",
"date": "2025-07-17T15:33:14Z"
},
{
"name": "Brandawg93/PeaNUT",
"version": "v5.9.2",
"date": "2025-07-17T15:31:21Z"
},
{
"name": "forgejo/forgejo",
"version": "v12.0.0",
@ -49,46 +184,16 @@
"version": "v2.7.0",
"date": "2025-07-17T14:08:16Z"
},
{
"name": "openhab/openhab-core",
"version": "4.3.6",
"date": "2025-07-17T13:07:42Z"
},
{
"name": "oauth2-proxy/oauth2-proxy",
"version": "v7.10.0",
"date": "2025-07-17T12:08:40Z"
},
{
"name": "steveiliop56/tinyauth",
"version": "v3.6.2",
"date": "2025-07-17T12:08:03Z"
},
{
"name": "n8n-io/n8n",
"version": "n8n@1.102.4",
"date": "2025-07-17T11:27:58Z"
},
{
"name": "keycloak/keycloak",
"version": "26.2.6",
"date": "2025-07-17T11:16:34Z"
},
{
"name": "esphome/esphome",
"version": "2025.7.1",
"date": "2025-07-17T09:54:45Z"
},
{
"name": "icereed/paperless-gpt",
"version": "v0.22.0",
"date": "2025-07-17T06:35:43Z"
},
{
"name": "Jackett/Jackett",
"version": "v0.22.2162",
"date": "2025-07-17T06:00:37Z"
},
{
"name": "firefly-iii/firefly-iii",
"version": "v6.2.21",
@ -104,16 +209,6 @@
"version": "v2.11.4",
"date": "2025-07-16T21:53:45Z"
},
{
"name": "Luligu/matterbridge",
"version": "3.1.4",
"date": "2025-07-16T20:53:12Z"
},
{
"name": "ollama/ollama",
"version": "v0.10.0-rc0",
"date": "2025-07-16T18:18:16Z"
},
{
"name": "plexguide/Huntarr.io",
"version": "8.1.15",
@ -144,16 +239,6 @@
"version": "v2.4.0p8-rc2",
"date": "2025-07-16T13:21:20Z"
},
{
"name": "wazuh/wazuh",
"version": "coverity-w29-4.13.0",
"date": "2025-07-16T12:35:22Z"
},
{
"name": "emqx/emqx",
"version": "e6.0.0-M1.202507-beta.1",
"date": "2025-07-16T12:35:12Z"
},
{
"name": "glpi-project/glpi",
"version": "10.0.19",
@ -164,21 +249,11 @@
"version": "release-1.23.1",
"date": "2025-07-16T09:20:27Z"
},
{
"name": "meilisearch/meilisearch",
"version": "prototype-chat-completions-with-filters-0",
"date": "2025-07-16T08:54:57Z"
},
{
"name": "sbondCo/Watcharr",
"version": "v2.1.1",
"date": "2025-07-15T22:38:01Z"
},
{
"name": "rcourtman/Pulse",
"version": "v3.42.0",
"date": "2025-07-14T22:07:28Z"
},
{
"name": "netbox-community/netbox",
"version": "v4.3.4",
@ -189,11 +264,6 @@
"version": "v1.4.0",
"date": "2025-07-15T16:43:28Z"
},
{
"name": "msgbyte/tianji",
"version": "v1.24.0",
"date": "2025-07-15T16:02:44Z"
},
{
"name": "zitadel/zitadel",
"version": "v2.70.14",
@ -209,11 +279,6 @@
"version": "jenkins-2.519",
"date": "2025-07-15T14:43:59Z"
},
{
"name": "fallenbagel/jellyseerr",
"version": "v2.7.1",
"date": "2025-07-15T14:22:46Z"
},
{
"name": "element-hq/synapse",
"version": "v1.134.0",
@ -229,11 +294,6 @@
"version": "0.50.7",
"date": "2025-07-15T11:29:29Z"
},
{
"name": "morpheus65535/bazarr",
"version": "v1.5.3-beta.10",
"date": "2025-07-15T06:07:03Z"
},
{
"name": "gotson/komga",
"version": "1.22.1",
@ -259,41 +319,21 @@
"version": "v0.36.0",
"date": "2025-07-14T18:59:57Z"
},
{
"name": "open-webui/open-webui",
"version": "v0.6.16",
"date": "2025-07-14T17:39:38Z"
},
{
"name": "prometheus/prometheus",
"version": "v3.5.0",
"date": "2025-07-14T16:54:21Z"
},
{
"name": "Paymenter/Paymenter",
"version": "v1.2.3",
"date": "2025-07-14T16:28:03Z"
},
{
"name": "home-assistant/core",
"version": "2025.7.2",
"date": "2025-07-14T11:29:58Z"
},
{
"name": "theonedev/onedev",
"version": "v12.0.0",
"date": "2025-07-14T10:08:45Z"
},
{
"name": "homebridge/homebridge",
"version": "v1.11.0",
"date": "2025-07-13T19:22:47Z"
},
{
"name": "MediaBrowser/Emby.Releases",
"version": "4.9.1.2",
"date": "2025-06-26T22:08:00Z"
},
{
"name": "mayswind/AriaNg",
"version": "1.3.11",
@ -334,11 +374,6 @@
"version": "v0.14.1",
"date": "2024-08-29T22:32:51Z"
},
{
"name": "homarr-labs/homarr",
"version": "v1.28.1",
"date": "2025-07-12T08:50:59Z"
},
{
"name": "leiweibau/Pi.Alert",
"version": "v2025-07-12",
@ -349,11 +384,6 @@
"version": "v2.0.22",
"date": "2025-07-11T21:34:20Z"
},
{
"name": "TandoorRecipes/recipes",
"version": "1.5.35",
"date": "2025-06-22T08:30:10Z"
},
{
"name": "neo4j/neo4j",
"version": "2025.06.2",
@ -484,11 +514,6 @@
"version": "v5.20.0",
"date": "2025-07-08T16:27:11Z"
},
{
"name": "bunkerity/bunkerweb",
"version": "v1.6.2",
"date": "2025-07-08T13:52:33Z"
},
{
"name": "docker/compose",
"version": "v2.38.2",
@ -524,16 +549,6 @@
"version": "0.23.1",
"date": "2025-07-06T23:57:52Z"
},
{
"name": "pelican-dev/panel",
"version": "v1.0.0-beta22",
"date": "2025-07-06T21:16:00Z"
},
{
"name": "pelican-dev/wings",
"version": "v1.0.0-beta14",
"date": "2025-07-06T21:07:07Z"
},
{
"name": "bluenviron/mediamtx",
"version": "v1.13.0",
@ -714,11 +729,6 @@
"version": "v2.18.0",
"date": "2025-06-24T08:29:55Z"
},
{
"name": "minio/minio",
"version": "RELEASE.2025-06-13T11-33-47Z",
"date": "2025-06-23T20:58:42Z"
},
{
"name": "clusterzx/paperless-ai",
"version": "v3.0.7",
@ -734,11 +744,6 @@
"version": "v2.0.114",
"date": "2025-06-21T11:20:21Z"
},
{
"name": "pocketbase/pocketbase",
"version": "v0.28.4",
"date": "2025-06-21T08:29:04Z"
},
{
"name": "immich-app/immich",
"version": "v1.135.3",
@ -854,11 +859,6 @@
"version": "v0.8.4",
"date": "2025-06-10T07:57:14Z"
},
{
"name": "ellite/Wallos",
"version": "v3.3.0",
"date": "2025-06-09T15:58:04Z"
},
{
"name": "seanmorley15/AdventureLog",
"version": "v0.10.0",

View File

@ -71,6 +71,8 @@ msg_ok "Created Service MeiliSearch"
msg_info "Installing Bar Assistant"
cd /opt/bar-assistant
cp /opt/bar-assistant/.env.dist /opt/bar-assistant/.env
mkdir -p /opt/bar-assistant/resources/data
curl -fsSL https://github.com/bar-assistant/data/archive/refs/heads/v5.tar.gz | tar -xz --strip-components=1 -C /opt/bar-assistant/resources/data
MeiliSearch_API_KEY=$(curl -s -X GET 'http://127.0.0.1:7700/keys' -H "Authorization: Bearer $MASTER_KEY" | grep -o '"key":"[^"]*"' | head -n 1 | sed 's/"key":"//;s/"//')
MeiliSearch_API_KEY_UID=$(curl -s -X GET 'http://127.0.0.1:7700/keys' -H "Authorization: Bearer $MASTER_KEY" | grep -o '"uid":"[^"]*"' | head -n 1 | sed 's/"uid":"//;s/"//')
LOCAL_IP=$(hostname -I | awk '{print $1}')

View File

@ -13,8 +13,6 @@ setting_up_container
network_check
update_os
FFMPEG_VERSION="latest" FFMPEG_TYPE="full" setup_ffmpeg
msg_info "Setting Up Hardware Acceleration"
$STD apt-get -y install {va-driver-all,ocl-icd-libopencl1,intel-opencl-icd,vainfo,intel-gpu-tools}
if [[ "$CTTYPE" == "0" ]]; then
@ -26,7 +24,37 @@ if [[ "$CTTYPE" == "0" ]]; then
fi
msg_ok "Set Up Hardware Acceleration"
read -r -p "${TAB3}Do you need the intel-media-va-driver-non-free driver for HW encoding (Debian 12 only)? <y/N> " prompt
if [[ ${prompt,,} =~ ^(y|yes)$ ]]; then
msg_info "Installing Intel Hardware Acceleration (non-free)"
cat <<EOF >/etc/apt/sources.list.d/non-free.list
deb http://deb.debian.org/debian bookworm non-free non-free-firmware
deb-src http://deb.debian.org/debian bookworm non-free non-free-firmware
deb http://deb.debian.org/debian-security bookworm-security non-free non-free-firmware
deb-src http://deb.debian.org/debian-security bookworm-security non-free non-free-firmware
deb http://deb.debian.org/debian bookworm-updates non-free non-free-firmware
deb-src http://deb.debian.org/debian bookworm-updates non-free non-free-firmware
EOF
$STD apt-get update
$STD apt-get -y install {intel-media-va-driver-non-free,ocl-icd-libopencl1,intel-opencl-icd,vainfo,intel-gpu-tools}
else
msg_info "Installing Intel Hardware Acceleration"
$STD apt-get -y install {va-driver-all,ocl-icd-libopencl1,intel-opencl-icd,vainfo,intel-gpu-tools}
fi
msg_ok "Installed and Set Up Intel Hardware Acceleration"
fetch_and_deploy_gh_release "ersatztv" "ErsatzTV/ErsatzTV" "prebuild" "latest" "/opt/ErsatzTV" "*linux-x64.tar.gz"
fetch_and_deploy_gh_release "ersatztv-ffmpeg" "ErsatzTV/ErsatzTV-ffmpeg" "prebuild" "latest" "/opt/ErsatzTV-ffmpeg" "*-linux64-gpl-7.1.tar.xz"
msg_info "Set ErsatzTV-ffmpeg links"
chmod +x /opt/ErsatzTV-ffmpeg/bin/*
ln -sf /opt/ErsatzTV-ffmpeg/bin/ffmpeg /usr/local/bin/ffmpeg
ln -sf /opt/ErsatzTV-ffmpeg/bin/ffplay /usr/local/bin/ffplay
ln -sf /opt/ErsatzTV-ffmpeg/bin/ffprobe /usr/local/bin/ffprobe
msg_ok "ffmpeg links set"
msg_info "Creating Service"
cat <<EOF >/etc/systemd/system/ersatzTV.service

View File

@ -141,7 +141,7 @@ EOF
yes)
whiptail --backtitle "Proxmox VE Helper Scripts" --msgbox --title "Support Subscriptions" "Supporting the software's development team is essential. Check their official website's Support Subscriptions for pricing. Without their dedicated work, we wouldn't have this exceptional software." 10 58
msg_info "Disabling subscription nag"
echo "DPkg::Post-Invoke { \"dpkg -V proxmox-widget-toolkit | grep -q '/proxmoxlib\.js$'; if [ \$? -eq 1 ]; then { echo 'Removing subscription nag from UI...'; sed -i '/.*data\.status.*{/{s/\!//;s/active/NoMoreNagging/}' /usr/share/javascript/proxmox-widget-toolkit/proxmoxlib.js; }; fi\"; };" >/etc/apt/apt.conf.d/no-nag-script
echo "DPkg::Post-Invoke { \"dpkg -V proxmox-widget-toolkit 2>/dev/null && [ -f /usr/share/javascript/proxmox-widget-toolkit/proxmoxlib.js ] && echo 'Removing subscription nag from UI...' && sed -i '/data\.status/{s/\!/=/;s/active/NoMoreNagging/}' /usr/share/javascript/proxmox-widget-toolkit/proxmoxlib.js\"; };" >/etc/apt/apt.conf.d/no-nag-script
apt --reinstall install proxmox-widget-toolkit &>/dev/null
msg_ok "Disabled subscription nag (Delete browser cache)"
;;