]> git.proxmox.com Git - pve-manager.git/commitdiff
d/postinst: remove outdated transitions fixups
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Wed, 22 May 2019 19:16:23 +0000 (21:16 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Wed, 22 May 2019 19:16:23 +0000 (21:16 +0200)
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
debian/postinst

index f1153fb35999c646bc9423a6e3a8f1c8ed1e13cb..e844c78bd26b6d23ff8e065f0b6f1b52cf312a8d 100755 (executable)
@@ -76,27 +76,6 @@ case "$1" in
            fi
        done
     fi
-
-    if test -n "$2"; then
-       # "$2" is the most recently configured version
-
-       if dpkg --compare-versions "$2" '<=' '5.0-23'; then
-           # 5.0-23 temporarily reverted the removal of the startcom CA in
-           # ca-certificates; we've since switched to let's encrypt
-           update-ca-certificates >/dev/null 2>&1
-       fi
-
-       if dpkg --compare-versions "$2" '<=' '5.1-47'; then
-           # remove cron update job, superseded by systemd timer
-           rm -f /etc/cron.d/pveupdate
-
-           # remove old/unused init.d files
-           OLD_INITD_FILES="pvebanner pvenetcommit pve-manager pvedaemon pveproxy pvestatd spiceproxy"
-           for f in ${OLD_INITD_FILES}; do rm -f "/etc/init.d/$f"; done
-
-           deb-systemd-invoke start pve-daily-update.timer
-       fi
-    fi
     ;;
 
   abort-upgrade|abort-remove|abort-deconfigure)