aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoe Marcus Clarke <marcus@FreeBSD.org>2005-02-14 18:49:19 +0000
committerJoe Marcus Clarke <marcus@FreeBSD.org>2005-02-14 18:49:19 +0000
commit15380a0345d7a3a3e6b78ffe719fcf1adeb6dcf1 (patch)
tree3cbcffeb2999a216fb6dc9df3d8ca223c4398dbe
parent905f9f092629568fd8f23a78009dff8f3a0675d4 (diff)
downloadports-15380a0345d7a3a3e6b78ffe719fcf1adeb6dcf1.tar.gz
ports-15380a0345d7a3a3e6b78ffe719fcf1adeb6dcf1.zip
Clean up the Python lib and sitelib directories if they are empty. O the
burdens of installing Python modules into X11BASE... Reported by: pointyhat via kris
Notes
Notes: svn path=/head/; revision=128827
-rw-r--r--deskutils/gnome-blog/pkg-plist2
-rw-r--r--deskutils/gnomeblog/pkg-plist2
2 files changed, 4 insertions, 0 deletions
diff --git a/deskutils/gnome-blog/pkg-plist b/deskutils/gnome-blog/pkg-plist
index 632733943471..cffeff15dd26 100644
--- a/deskutils/gnome-blog/pkg-plist
+++ b/deskutils/gnome-blog/pkg-plist
@@ -54,3 +54,5 @@ share/gnome/applications/gnome-blog.desktop
share/gnome/gnome-2.0/ui/GNOME_BlogApplet.xml
share/gnome/pixmaps/gnome-blog.png
@dirrm %%PYTHON_SITELIBDIR%%/gnomeblog
+@unexec rmdir %%PYTHON_SITELIBDIR%% 2>/dev/null || true
+@unexec rmdir %%PYTHON_LIBDIR%% 2>/dev/null || true
diff --git a/deskutils/gnomeblog/pkg-plist b/deskutils/gnomeblog/pkg-plist
index 632733943471..cffeff15dd26 100644
--- a/deskutils/gnomeblog/pkg-plist
+++ b/deskutils/gnomeblog/pkg-plist
@@ -54,3 +54,5 @@ share/gnome/applications/gnome-blog.desktop
share/gnome/gnome-2.0/ui/GNOME_BlogApplet.xml
share/gnome/pixmaps/gnome-blog.png
@dirrm %%PYTHON_SITELIBDIR%%/gnomeblog
+@unexec rmdir %%PYTHON_SITELIBDIR%% 2>/dev/null || true
+@unexec rmdir %%PYTHON_LIBDIR%% 2>/dev/null || true