mirror of
https://git.proxmox.com/git/proxmox-ve
synced 2025-04-28 13:38:42 +00:00
drop postinst/rm, moved to meta package for default-kernel
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
parent
334c1dc288
commit
493beb5f94
17
debian/postinst
vendored
17
debian/postinst
vendored
@ -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
|
20
debian/postrm
vendored
20
debian/postrm
vendored
@ -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#
|
Loading…
Reference in New Issue
Block a user