Sophie

Sophie

distrib > Mageia > 4 > x86_64 > by-pkgid > 864f5bd4e1adf79bcae2f32a6ef8f0d2 > scriptlet

kernel-tmb-desktop-devel-3.14.43-1.mga4-1-1.mga4.x86_64.rpm

PREUN

/bin/sh
if [ -L /lib/modules/3.14.43-tmb-desktop-1.mga4/build ]; then
	rm -f /lib/modules/3.14.43-tmb-desktop-1.mga4/build
fi
if [ -L /lib/modules/3.14.43-tmb-desktop-1.mga4/source ]; then
	rm -f /lib/modules/3.14.43-tmb-desktop-1.mga4/source
fi
exit 0

POSTIN

/bin/sh
if [ -d /lib/modules/3.14.43-tmb-desktop-1.mga4 ]; then
	rm -f /lib/modules/3.14.43-tmb-desktop-1.mga4/{build,source}
	ln -sf /usr/src/3.14.43-tmb-desktop-1.mga4 /lib/modules/3.14.43-tmb-desktop-1.mga4/build
	ln -sf /usr/src/3.14.43-tmb-desktop-1.mga4 /lib/modules/3.14.43-tmb-desktop-1.mga4/source
fi