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