From bf51be9965f27edcb473bf1c6d94aeb1a9bc1797 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fabian=20Gr=C3=BCnbichler?= Date: Tue, 22 Jun 2021 12:16:57 +0200 Subject: [PATCH] postinst: remove outdated calls MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- debian/maintscript | 2 -- debian/postinst | 10 ---------- 2 files changed, 12 deletions(-) delete mode 100644 debian/maintscript diff --git a/debian/maintscript b/debian/maintscript deleted file mode 100644 index 988e9213..00000000 --- a/debian/maintscript +++ /dev/null @@ -1,2 +0,0 @@ -# FIXME: remove in 7.0 -rm_conffile /etc/apt/apt.conf.d/75pveconf 6.0-0+3 pve-manager diff --git a/debian/postinst b/debian/postinst index 87a4eb1e..c27c43de 100755 --- a/debian/postinst +++ b/debian/postinst @@ -122,13 +122,6 @@ case "$1" in fi 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 ;; abort-upgrade|abort-remove|abort-deconfigure) @@ -138,7 +131,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