aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorglewis <glewis@FreeBSD.org>2004-12-29 03:47:56 +0800
committerglewis <glewis@FreeBSD.org>2004-12-29 03:47:56 +0800
commitd9e7197af7042a0c27231a72ff04a550b92bd523 (patch)
tree488d00c20bc0ccd0efee10b85ae54b7e42356abf
parent8ebe9c50d35b7d66499b7a8a5942aef8d002c3f2 (diff)
downloadfreebsd-ports-gnome-d9e7197af7042a0c27231a72ff04a550b92bd523.tar.gz
freebsd-ports-gnome-d9e7197af7042a0c27231a72ff04a550b92bd523.tar.zst
freebsd-ports-gnome-d9e7197af7042a0c27231a72ff04a550b92bd523.zip
. Try to remove ${PREFIX}/src when deinstalling as the port creates this
directory. Submitted by: kris
-rw-r--r--archivers/rpm4/pkg-plist1
-rw-r--r--archivers/rpm5/pkg-plist1
2 files changed, 2 insertions, 0 deletions
diff --git a/archivers/rpm4/pkg-plist b/archivers/rpm4/pkg-plist
index f6b8a24e3218..e81fff8b4818 100644
--- a/archivers/rpm4/pkg-plist
+++ b/archivers/rpm4/pkg-plist
@@ -159,5 +159,6 @@ share/locale/zh_CN.GB2312/LC_MESSAGES/rpm.mo
@unexec rmdir %D/src/portbld/RPMS 2>/dev/null || true
@unexec rmdir %D/src/portbld/BUILD 2>/dev/null || true
@unexec rmdir %D/src/portbld 2>/dev/null || true
+@unexec rmdir %D/src 2>/dev/null || true
@unexec rmdir %D/share/locale/en_RN/LC_MESSAGES 2> /dev/null || true
@unexec rmdir %D/share/locale/en_RN 2> /dev/null || true
diff --git a/archivers/rpm5/pkg-plist b/archivers/rpm5/pkg-plist
index f6b8a24e3218..e81fff8b4818 100644
--- a/archivers/rpm5/pkg-plist
+++ b/archivers/rpm5/pkg-plist
@@ -159,5 +159,6 @@ share/locale/zh_CN.GB2312/LC_MESSAGES/rpm.mo
@unexec rmdir %D/src/portbld/RPMS 2>/dev/null || true
@unexec rmdir %D/src/portbld/BUILD 2>/dev/null || true
@unexec rmdir %D/src/portbld 2>/dev/null || true
+@unexec rmdir %D/src 2>/dev/null || true
@unexec rmdir %D/share/locale/en_RN/LC_MESSAGES 2> /dev/null || true
@unexec rmdir %D/share/locale/en_RN 2> /dev/null || true