PREUN
/bin/sh
if [ -L /lib/modules/3.12.20-tmb-laptop-1.mga4/build ]; then
rm -f /lib/modules/3.12.20-tmb-laptop-1.mga4/build
fi
if [ -L /lib/modules/3.12.20-tmb-laptop-1.mga4/source ]; then
rm -f /lib/modules/3.12.20-tmb-laptop-1.mga4/source
fi
exit 0
POSTIN
/bin/sh
if [ -d /lib/modules/3.12.20-tmb-laptop-1.mga4 ]; then
rm -f /lib/modules/3.12.20-tmb-laptop-1.mga4/{build,source}
ln -sf /usr/src/3.12.20-tmb-laptop-1.mga4 /lib/modules/3.12.20-tmb-laptop-1.mga4/build
ln -sf /usr/src/3.12.20-tmb-laptop-1.mga4 /lib/modules/3.12.20-tmb-laptop-1.mga4/source
fi