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:
@@ -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}
|
||||
|
||||
|
Reference in New Issue
Block a user