Only delete wx-config if it exists.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33699 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robert Roebling 2005-04-17 11:53:26 +00:00
parent 1bf200d8d4
commit dd5878b326

View File

@ -534,7 +534,9 @@ ln -sf %{_libdir}/wx/config/%{wxconfig} %{_bindir}/%{wxconfiglink}
/sbin/ldconfig /sbin/ldconfig
%preun devel %preun devel
rm -f %{_bindir}/wx-config %if %{unicode}
rm -f %{_bindir}/wx-config
%endif
rm -f %{_bindir}/%{wxconfiglink} rm -f %{_bindir}/%{wxconfiglink}
%post -n %{wxbasename} %post -n %{wxbasename}