the only actual code was for upgrading from PVE 3 to PVE 4..
Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
+++ /dev/null
-#!/bin/sh
-
-set -e
-
-case "$1" in
- install|upgrade)
- old_version=$2
- if [ -e '/usr/sbin/pve-firewall' ]; then
- if dpkg --compare-versions "$old_version" lt '1.0-16' ; then
- echo "Detected old pve-firewall version - using stop/start to restart"
- pve-firewall stop
- fi
- fi
- ;;
-
- abort-upgrade)
- ;;
-
- *)
- echo "preinst called with unknown argument \`$1'" >&2
- exit 1
- ;;
-esac
-
-#DEBHELPER#
-
-exit 0