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