summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2006-04-07 16:51:41 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2006-04-07 16:51:41 +0000
commit83f0f980f67ef229f8b185ab3103d22201d3c955 (patch)
treee8be2882d7f606205ecb6dce14636d990ef2f1e6
parentd14db6d0811c5e4060c2f6220356bbc196c8ba5d (diff)
downloadmgaonline-83f0f980f67ef229f8b185ab3103d22201d3c955.tar
mgaonline-83f0f980f67ef229f8b185ab3103d22201d3c955.tar.gz
mgaonline-83f0f980f67ef229f8b185ab3103d22201d3c955.tar.bz2
mgaonline-83f0f980f67ef229f8b185ab3103d22201d3c955.tar.xz
mgaonline-83f0f980f67ef229f8b185ab3103d22201d3c955.zip
use the new migrating script in order to restart new style applets
instead of firing up SIGHUP (which may definitively kill applets if upgrading a 2.0-10mdk+ package (both old and new packages' triggers would run then)
-rw-r--r--mdkonline.spec4
1 files changed, 3 insertions, 1 deletions
diff --git a/mdkonline.spec b/mdkonline.spec
index 62b67fac..9faf6144 100644
--- a/mdkonline.spec
+++ b/mdkonline.spec
@@ -83,7 +83,9 @@ if [ -r /etc/cron.daily/mdkupdate ]; then
fi
%triggerin -- mdkonline > 2.0-10mdk
-killall -HUP mdkapplet || :
+[[ $2 ]] || exit 0
+%{_sbindir}/migrate-mdvonline-applet.pl new
+:
%postun
%{clean_menus}