A little tweak for the %post step, in case /usr/lib/wxPython is a

directory as in old installs.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@23948 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2003-09-26 20:19:51 +00:00
parent b8efa6bd4a
commit ee1c652b5e

View File

@@ -276,7 +276,7 @@ $GFL $RPM_BUILD_ROOT %{wxpref}/bin/wx-config >> DEVELLIST
%post
if [ -e %{wxprefbase} ]; then
rm %{wxprefbase}
rm -r %{wxprefbase}
fi
ln -s %{wxpref} %{wxprefbase}