Sophie

Sophie

distrib > Scientific%20Linux > 5x > i386 > by-pkgid > dcdf6e175dc0c19f644670d79355211e > scriptlet

kernel-debug-2.6.18-371.3.1.el5.i686.rpm

PREUN

/bin/sh
/sbin/new-kernel-pkg --rminitrd --rmmoddep --remove 2.6.18-371.3.1.el5debug || exit $?
if [ -x /sbin/weak-modules ]
then
    /sbin/weak-modules --remove-kernel 2.6.18-371.3.1.el5debug || exit $?
fi

POSTIN

/bin/sh
/sbin/new-kernel-pkg --package kernel-debug --mkinitrd --depmod --install 2.6.18-371.3.1.el5debug || exit $?
if [ -x /sbin/weak-modules ]
then
    /sbin/weak-modules --add-kernel 2.6.18-371.3.1.el5debug || exit $?
fi