summaryrefslogtreecommitdiffstats
path: root/mdkonline.spec
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2006-04-07 16:52:09 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2006-04-07 16:52:09 +0000
commit7ef39f8057545b80f05582ec4e158bfbd13a540a (patch)
treec015a964160ef14c3981ec35aff7fc6f22e45ae3 /mdkonline.spec
parent83f0f980f67ef229f8b185ab3103d22201d3c955 (diff)
downloadmgaonline-7ef39f8057545b80f05582ec4e158bfbd13a540a.tar
mgaonline-7ef39f8057545b80f05582ec4e158bfbd13a540a.tar.gz
mgaonline-7ef39f8057545b80f05582ec4e158bfbd13a540a.tar.bz2
mgaonline-7ef39f8057545b80f05582ec4e158bfbd13a540a.tar.xz
mgaonline-7ef39f8057545b80f05582ec4e158bfbd13a540a.zip
use the new migrating script in order to restart old style applets
Diffstat (limited to 'mdkonline.spec')
-rw-r--r--mdkonline.spec5
1 files changed, 5 insertions, 0 deletions
diff --git a/mdkonline.spec b/mdkonline.spec
index 9faf6144..8d6d9f47 100644
--- a/mdkonline.spec
+++ b/mdkonline.spec
@@ -82,6 +82,11 @@ if [ -r /etc/cron.daily/mdkupdate ]; then
perl -p -i -e 's!/usr/bin/mdkupdate!/usr/sbin/mdkupdate!' /etc/cron.daily/mdkupdate
fi
+%triggerun -- mdkonline < 2.0-11mdk
+[[ $2 ]] || exit 0
+%{_sbindir}/migrate-mdvonline-applet.pl old
+:
+
%triggerin -- mdkonline > 2.0-10mdk
[[ $2 ]] || exit 0
%{_sbindir}/migrate-mdvonline-applet.pl new