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