d/postinst: remove beta sources for real

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
Thomas Lamprecht 2023-06-21 17:06:31 +02:00
parent 4e7c7d5882
commit 2f11eee575

2
debian/postinst vendored
View File

@ -160,7 +160,7 @@ case "$1" in
# FIXME: remove after beta is over and add hunk to actively remove the repo # FIXME: remove after beta is over and add hunk to actively remove the repo
BETA_SOURCES="/etc/apt/sources.list.d/pvetest-for-beta.list" BETA_SOURCES="/etc/apt/sources.list.d/pvetest-for-beta.list"
if ! test -f "$BETA_SOURCES" && dpkg --compare-versions "$2" 'lt' '8.0.1' && dpkg --compare-versions "$2" 'gt' '8.0~'; then if test -f "$BETA_SOURCES" && dpkg --compare-versions "$2" 'lt' '8.0.2' && dpkg --compare-versions "$2" 'gt' '8.0~'; then
echo "Removing the during beta added pvetest repository file again" echo "Removing the during beta added pvetest repository file again"
rm -v "$BETA_SOURCES" || true rm -v "$BETA_SOURCES" || true
fi fi