aboutsummaryrefslogtreecommitdiffstats
path: root/archivers/rpm
diff options
context:
space:
mode:
authoredwin <edwin@FreeBSD.org>2006-01-22 08:17:42 +0800
committeredwin <edwin@FreeBSD.org>2006-01-22 08:17:42 +0800
commitaf48ddd7a913664262c3da6a6a140a2873659925 (patch)
treeb02c2828dfcaddff86c9832b03bbf528381e8b24 /archivers/rpm
parentea06bd23b101258e6696714c0640510b5025b71c (diff)
downloadfreebsd-ports-gnome-af48ddd7a913664262c3da6a6a140a2873659925.tar.gz
freebsd-ports-gnome-af48ddd7a913664262c3da6a6a140a2873659925.tar.zst
freebsd-ports-gnome-af48ddd7a913664262c3da6a6a140a2873659925.zip
Replace ugly "@unexec rmdir %D... 2>/dev/null || true" with @dirrmtry
Diffstat (limited to 'archivers/rpm')
-rw-r--r--archivers/rpm/pkg-plist28
1 files changed, 14 insertions, 14 deletions
diff --git a/archivers/rpm/pkg-plist b/archivers/rpm/pkg-plist
index c73cbd990547..a9532a2f07be 100644
--- a/archivers/rpm/pkg-plist
+++ b/archivers/rpm/pkg-plist
@@ -69,20 +69,20 @@ share/locale/sv/LC_MESSAGES/rpm.mo
share/locale/tr/LC_MESSAGES/rpm.mo
@dirrm lib/rpm
@dirrm include/rpm
-@unexec rmdir %D/src/redhat/SRPMS 2>/dev/null || true
-@unexec rmdir %D/src/redhat/SPECS 2>/dev/null || true
-@unexec rmdir %D/src/redhat/SOURCES 2>/dev/null || true
-@unexec rmdir %D/src/redhat/RPMS/noarch 2>/dev/null || true
-@unexec rmdir %D/src/redhat/RPMS/amd64 2>/dev/null || true
-@unexec rmdir %D/src/redhat/RPMS/athlon 2>/dev/null || true
-@unexec rmdir %D/src/redhat/RPMS/i686 2>/dev/null || true
-@unexec rmdir %D/src/redhat/RPMS/i586 2>/dev/null || true
-@unexec rmdir %D/src/redhat/RPMS/i486 2>/dev/null || true
-@unexec rmdir %D/src/redhat/RPMS/i386 2>/dev/null || true
-@unexec rmdir %D/src/redhat/RPMS 2>/dev/null || true
-@unexec rmdir %D/src/redhat/BUILD 2>/dev/null || true
-@unexec rmdir %D/src/redhat 2>/dev/null || true
-@unexec rmdir %D/src 2>/dev/null || true
+@dirrmtry src/redhat/SRPMS
+@dirrmtry src/redhat/SPECS
+@dirrmtry src/redhat/SOURCES
+@dirrmtry src/redhat/RPMS/noarch
+@dirrmtry src/redhat/RPMS/amd64
+@dirrmtry src/redhat/RPMS/athlon
+@dirrmtry src/redhat/RPMS/i686
+@dirrmtry src/redhat/RPMS/i586
+@dirrmtry src/redhat/RPMS/i486
+@dirrmtry src/redhat/RPMS/i386
+@dirrmtry src/redhat/RPMS
+@dirrmtry src/redhat/BUILD
+@dirrmtry src/redhat
+@dirrmtry src
@unexec rmdir /var/lib/rpm 2>/dev/null || true
@unexec rmdir /var/lib 2>/dev/null || true
@exec mkdir -p /var/lib