From: Robert Roebling Date: Sun, 17 Apr 2005 11:53:26 +0000 (+0000) Subject: Only delete wx-config if it exists. X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/dd5878b32624d40270c704253a63f6c2b8bc71ee Only delete wx-config if it exists. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33699 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/wxGTK_RR.spec b/wxGTK_RR.spec index afc4a22200..0ca5e07cb4 100644 --- a/wxGTK_RR.spec +++ b/wxGTK_RR.spec @@ -534,7 +534,9 @@ ln -sf %{_libdir}/wx/config/%{wxconfig} %{_bindir}/%{wxconfiglink} /sbin/ldconfig %preun devel -rm -f %{_bindir}/wx-config +%if %{unicode} + rm -f %{_bindir}/wx-config +%endif rm -f %{_bindir}/%{wxconfiglink} %post -n %{wxbasename}