PREIN
/bin/sh
[ -L /usr/include/linux ] && rm -f /usr/include/linux
[ -L /usr/include/asm ] && rm -f /usr/include/asm
[ -L /usr/include/asm-generic ] && rm -f /usr/include/asm-generic
[ -L /usr/include/sound ] && rm -f /usr/include/sound
exit 0
POSTIN
/bin/sh
cd /boot
rm -f kernel.h
ln -snf kernel.h-2.4.19 kernel.h
/sbin/service kheader start 2>/dev/null >/dev/null || :
exit 0
POSTUN
/bin/sh
if [ $1 = 0 ];then
if [ -L /boot/kernel.h -a `ls -l /boot/kernel.h 2>/dev/null| awk '{ print $11 }'` = "kernel.h-%{kheader}" ]; then
rm -f /boot/kernel.h
fi
fi
exit 0