%preun
if [ $1 = 0 ]; then
// Do stuff specific to uninstalls
/usr/sbin/patchmanager -u sailfishos-shutdown-screen
else
if [ $1 = 1 ]; then
// Do stuff specific to upgrades
echo "It's just upgrade"
fi
fi
| The Following User Says Thank You to coderus For This Useful Post: | ||
%preun
if [ $1 = 0 ]; then
// Do stuff specific to uninstalls
/usr/sbin/patchmanager -u sailfishos-shutdown-screen
else
if [ $1 = 1 ]; then
// Do stuff specific to upgrades
echo "It's just upgrade"
fi
fi
rrpm -e --noscripts sailfishos-shutdown-screen
| The Following User Says Thank You to explit For This Useful Post: | ||
| The Following 18 Users Say Thank You to pichlo For This Useful Post: | ||

| The Following 7 Users Say Thank You to pichlo For This Useful Post: | ||