[pve-devel] [PATCH manager 2/2] postinst: remove outdated calls

Fabian Grünbichler f.gruenbichler at proxmox.com
Tue Jun 22 12:16:57 CEST 2021


any system upgrading to 7.x was either installed with >= 6.4 in the
first place, or upgraded to >= 6.4 and thus fixed those issues already.

Signed-off-by: Fabian Grünbichler <f.gruenbichler at proxmox.com>
---
 debian/postinst | 10 ----------
 1 file changed, 10 deletions(-)

diff --git a/debian/postinst b/debian/postinst
index 241aac08..d845b082 100755
--- a/debian/postinst
+++ b/debian/postinst
@@ -132,13 +132,6 @@ case "$1" in
 	done
     fi
 
-    # TODO: remove once PVE 7.0 is released
-    if test -n "$2"; then
-	if dpkg --compare-versions "$2" 'lt' '6.0-11'; then
-	    newaliases || true
-	fi
-    fi
-
     set_lvm_conf
 
     ;;
@@ -150,7 +143,4 @@ case "$1" in
      exit 0;;
 esac
 
-# FIXME: remove in 7.0
-dpkg-maintscript-helper rm_conffile /etc/apt/apt.conf.d/75pveconf 6.0-0\+3 pve-manager -- "$@"
-
 exit 0
-- 
2.30.2






More information about the pve-devel mailing list