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:
parent
1bf200d8d4
commit
dd5878b326
@ -534,7 +534,9 @@ ln -sf %{_libdir}/wx/config/%{wxconfig} %{_bindir}/%{wxconfiglink}
|
|||||||
/sbin/ldconfig
|
/sbin/ldconfig
|
||||||
|
|
||||||
%preun devel
|
%preun devel
|
||||||
|
%if %{unicode}
|
||||||
rm -f %{_bindir}/wx-config
|
rm -f %{_bindir}/wx-config
|
||||||
|
%endif
|
||||||
rm -f %{_bindir}/%{wxconfiglink}
|
rm -f %{_bindir}/%{wxconfiglink}
|
||||||
|
|
||||||
%post -n %{wxbasename}
|
%post -n %{wxbasename}
|
||||||
|
Loading…
Reference in New Issue
Block a user