Sophie

Sophie

distrib > Mandriva > current > i586 > media > contrib-testing > by-pkgid > feb6abd851c0733412c25ab1b2a4fdd8 > scriptlet

kernel-tmb-desktop586-devel-2.6.34.5-1mdv-1-1mdv2010.1.i586.rpm

PREUN

/bin/sh
if [ -L /lib/modules/2.6.34.5-tmb-desktop586-1mdv/build ]; then
	rm -f /lib/modules/2.6.34.5-tmb-desktop586-1mdv/build
fi
if [ -L /lib/modules/2.6.34.5-tmb-desktop586-1mdv/source ]; then
	rm -f /lib/modules/2.6.34.5-tmb-desktop586-1mdv/source
fi
exit 0

POSTIN

/bin/sh
if [ -d /lib/modules/2.6.34.5-tmb-desktop586-1mdv ]; then
	rm -f /lib/modules/2.6.34.5-tmb-desktop586-1mdv/{build,source}
	ln -sf /usr/src/2.6.34.5-tmb-desktop586-1mdv /lib/modules/2.6.34.5-tmb-desktop586-1mdv/build
	ln -sf /usr/src/2.6.34.5-tmb-desktop586-1mdv /lib/modules/2.6.34.5-tmb-desktop586-1mdv/source
fi