summaryrefslogtreecommitdiffstats
path: root/perl-install/drakxtools.spec
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/drakxtools.spec')
-rw-r--r--perl-install/drakxtools.spec5
1 files changed, 3 insertions, 2 deletions
diff --git a/perl-install/drakxtools.spec b/perl-install/drakxtools.spec
index 1fc2bf3c7..d4fee7208 100644
--- a/perl-install/drakxtools.spec
+++ b/perl-install/drakxtools.spec
@@ -223,8 +223,9 @@ done
%postun -n harddrake-ui
%clean_menus
-%triggerpostun -n harddrake -- harddrake <= 1.1.8-8mdk
-%_sbindir/convert-harddrake
+%postun -n harddrake
+file /etc/sysconfig/harddrake2/previous_hw | fgrep -q perl && \
+ %_sbindir/convert-harddrake
%files newt -f %name.list
%defattr(-,root,root)