aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormarcus <marcus@FreeBSD.org>2003-01-14 00:49:03 +0800
committermarcus <marcus@FreeBSD.org>2003-01-14 00:49:03 +0800
commit09bc244170bab2c37af83670946c80c67a5a5aae (patch)
treee821b7a308a4166e66b27787fc47c390b483680a
parent8743dbfaf117c5ea2fd564f42777b87895f83fbc (diff)
downloadfreebsd-ports-graphics-09bc244170bab2c37af83670946c80c67a5a5aae.tar.gz
freebsd-ports-graphics-09bc244170bab2c37af83670946c80c67a5a5aae.tar.zst
freebsd-ports-graphics-09bc244170bab2c37af83670946c80c67a5a5aae.zip
Remove ${X11BASE}/sbin if it exists and is not empty.
Reported by: bento
-rw-r--r--x11/gdm/pkg-plist1
-rw-r--r--x11/gdm2/pkg-plist1
2 files changed, 2 insertions, 0 deletions
diff --git a/x11/gdm/pkg-plist b/x11/gdm/pkg-plist
index 2978c09d591..6a225e49ec9 100644
--- a/x11/gdm/pkg-plist
+++ b/x11/gdm/pkg-plist
@@ -175,3 +175,4 @@ share/locale/zh_TW/LC_MESSAGES/gdm.mo
@dirrm share/gnome/help/gdm/C
@dirrm share/gnome/help/gdm
@dirrm etc/pam.d
+@unexec /bin/rmdir %D/sbin 2>/dev/null || /usr/bin/true
diff --git a/x11/gdm2/pkg-plist b/x11/gdm2/pkg-plist
index 3ebf8e671ff..23cd8626f7e 100644
--- a/x11/gdm2/pkg-plist
+++ b/x11/gdm2/pkg-plist
@@ -104,3 +104,4 @@ share/locale/zh_TW/LC_MESSAGES/gdm-2.4.mo
@dirrm share/gnome/gdm/themes/happygnome
@dirrm share/gnome/gdm/themes/circles
@dirrm share/gnome/gdm/themes
+@unexec /bin/rmdir %D/sbin 2>/dev/null || /usr/bin/true