]> git.proxmox.com Git - proxmox-ve.git/commitdiff
drop postinst/rm, moved to meta package for default-kernel
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Thu, 23 Nov 2023 09:51:37 +0000 (10:51 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Thu, 23 Nov 2023 09:51:38 +0000 (10:51 +0100)
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
debian/postinst [deleted file]
debian/postrm [deleted file]

diff --git a/debian/postinst b/debian/postinst
deleted file mode 100755 (executable)
index c7d1270..0000000
+++ /dev/null
@@ -1,17 +0,0 @@
-#! /bin/sh
-
-# Abort if any command returns an error value
-set -e
-
-case "$1" in
-  configure)
-    # setup kernel links for installation CD (rescue boot)
-    mkdir -p /boot/pve || true
-    ln -sf /boot/pve/vmlinuz-6.5 /boot/pve/vmlinuz || true
-    ln -sf /boot/pve/initrd.img-6.5 /boot/pve/initrd.img || true
-    ;;
-esac
-
-#DEBHELPER#
-
-exit 0
diff --git a/debian/postrm b/debian/postrm
deleted file mode 100755 (executable)
index 09ff323..0000000
+++ /dev/null
@@ -1,20 +0,0 @@
-#! /bin/sh
-
-# Abort if any command returns an error value
-set -e
-
-case "$1" in
-    purge|remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)
-       # remove kernel symlinks
-       rm -f /boot/pve/vmlinuz || true
-       rm -f /boot/pve/initrd.img || true
-       rmdir --ignore-fail-on-non-empty /boot/pve/ || true
-    ;;
-
-    *)
-        echo "postrm called with unknown argument \`$1'" >&2
-        exit 1
-    ;;
-esac
-
-#DEBHELPER#