]> git.saurik.com Git - wxWidgets.git/commitdiff
Be sure to mention the directories too so they get cleaned up upon uninstall
authorRobin Dunn <robin@alldunn.com>
Tue, 20 Jan 2004 23:28:37 +0000 (23:28 +0000)
committerRobin Dunn <robin@alldunn.com>
Tue, 20 Jan 2004 23:28:37 +0000 (23:28 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25269 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

wxPython/distrib/wxPythonFull.spec.in

index f36dd6e81e21ee042ff9b90f13e3dd284ad00c0a..ef201326ef7cd899049a9368c3907f2e4b48bf5a 100644 (file)
@@ -285,9 +285,7 @@ if [ -x /usr/bin/update-menus ]; then /usr/bin/update-menus || true ; fi
 
 
 %postun
 
 
 %postun
-if [ -e %{wxprefbase} ]; then
-       rm %{wxprefbase}
-fi
+rm -f %{wxprefbase}
 # This is done on Mandrake to update its menus:
 if [ "$1" = "0" -a -x /usr/bin/update-menus ]; then /usr/bin/update-menus || true ; fi
 
 # This is done on Mandrake to update its menus:
 if [ "$1" = "0" -a -x /usr/bin/update-menus ]; then /usr/bin/update-menus || true ; fi
 
@@ -305,6 +303,8 @@ if [ "$1" = "0" -a -x /usr/bin/update-menus ]; then /usr/bin/update-menus || tru
 %doc wxPython/docs/*
 %{_bindir}/*
 %{_libdir}/python%{pyver}/site-packages/*
 %doc wxPython/docs/*
 %{_bindir}/*
 %{_libdir}/python%{pyver}/site-packages/*
+%dir %{wxpref}
+%dir %{wxpref}/lib
 %{wxpref}/lib/libwx*
 %{wxpref}/share
 %{_datadir}/applnk/Development/*
 %{wxpref}/lib/libwx*
 %{wxpref}/share
 %{_datadir}/applnk/Development/*