diff options
author | knu <knu@FreeBSD.org> | 2001-05-18 14:20:15 +0000 |
---|---|---|
committer | knu <knu@FreeBSD.org> | 2001-05-18 14:20:15 +0000 |
commit | af7799dce9736dfa74815a1bf9845ef66eaf5259 (patch) | |
tree | d0a35e5a85b0fdcddc3ce90169d7e259d24ca018 /sysutils | |
parent | 0a09dd8f5073a11ef52987dbdfe7b04e8c6c4617 (diff) | |
download | FreeBSD-ports-af7799dce9736dfa74815a1bf9845ef66eaf5259.zip FreeBSD-ports-af7799dce9736dfa74815a1bf9845ef66eaf5259.tar.gz |
Fix a rmdir line so it never fails.
Submitted by: Jimmy Olgeni <olgeni@FreeBSD.org>
Diffstat (limited to 'sysutils')
-rw-r--r-- | sysutils/portupgrade-devel/pkg-plist | 3 | ||||
-rw-r--r-- | sysutils/portupgrade/pkg-plist | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/sysutils/portupgrade-devel/pkg-plist b/sysutils/portupgrade-devel/pkg-plist index 3be0885..86341ce 100644 --- a/sysutils/portupgrade-devel/pkg-plist +++ b/sysutils/portupgrade-devel/pkg-plist @@ -9,6 +9,7 @@ sbin/portversion %%RUBY_SITELIBDIR%%/portsdb.rb share/zsh/site-functions/_portupgrade share/zsh/site-functions/_portversion -@unexec if [ ! -x %D/bin/zsh ]; then rmdir -p %D/share/zsh/site-functions; fi +@unexec rmdir %D/share/zsh/site-functions 2>/dev/null || true +@unexec rmdir %D/share/zsh 2>/dev/null || true %%PORTDOCS%%share/doc/portupgrade/README %%PORTDOCS%%@dirrm share/doc/portupgrade diff --git a/sysutils/portupgrade/pkg-plist b/sysutils/portupgrade/pkg-plist index 3be0885..86341ce 100644 --- a/sysutils/portupgrade/pkg-plist +++ b/sysutils/portupgrade/pkg-plist @@ -9,6 +9,7 @@ sbin/portversion %%RUBY_SITELIBDIR%%/portsdb.rb share/zsh/site-functions/_portupgrade share/zsh/site-functions/_portversion -@unexec if [ ! -x %D/bin/zsh ]; then rmdir -p %D/share/zsh/site-functions; fi +@unexec rmdir %D/share/zsh/site-functions 2>/dev/null || true +@unexec rmdir %D/share/zsh 2>/dev/null || true %%PORTDOCS%%share/doc/portupgrade/README %%PORTDOCS%%@dirrm share/doc/portupgrade |