summaryrefslogtreecommitdiffstats
path: root/perl-install/drakxtools.spec
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2002-07-29 12:59:17 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2002-07-29 12:59:17 +0000
commitd364f1802872d4f671a59463182ba59d2d15f2a4 (patch)
tree4f2421921c789922fac16d40cfb3f554d91759ee /perl-install/drakxtools.spec
parent648f7debaf9a61fa344c86c49f4e7bb2b5ce5c64 (diff)
downloaddrakx-backup-do-not-use-d364f1802872d4f671a59463182ba59d2d15f2a4.tar
drakx-backup-do-not-use-d364f1802872d4f671a59463182ba59d2d15f2a4.tar.gz
drakx-backup-do-not-use-d364f1802872d4f671a59463182ba59d2d15f2a4.tar.bz2
drakx-backup-do-not-use-d364f1802872d4f671a59463182ba59d2d15f2a4.tar.xz
drakx-backup-do-not-use-d364f1802872d4f671a59463182ba59d2d15f2a4.zip
replace trigger by format test for hw config file conversion
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)