PREUN
/bin/sh
if [ $1 = 0 ]; then # uninstallation /sbin/installkernel -R 2.6.18-xen fi
POSTIN
/bin/sh
# remove initrd to force regeneration rm -f /boot/initrd-2.6.18-xen.img /sbin/installkernel -L 2.6.18-xen
/bin/sh
if [ $1 = 0 ]; then # uninstallation /sbin/installkernel -R 2.6.18-xen fi
/bin/sh
# remove initrd to force regeneration rm -f /boot/initrd-2.6.18-xen.img /sbin/installkernel -L 2.6.18-xen