]> git.proxmox.com Git - pve-manager.git/commitdiff
d/postinst: remove beta sources for real
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Wed, 21 Jun 2023 15:06:31 +0000 (17:06 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Wed, 21 Jun 2023 15:06:31 +0000 (17:06 +0200)
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
debian/postinst

index 81eaaa2120411fbd1bb768a1450f9c56c461bfc2..4c9a1f2500443006ccee05947007601fc2b46440 100755 (executable)
@@ -160,7 +160,7 @@ case "$1" in
 
     # 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"
-    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"
         rm -v "$BETA_SOURCES" || true
     fi