1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-24 04:33:24 +00:00

Fix a rmdir line so it never fails.

Submitted by:	Jimmy Olgeni <olgeni@FreeBSD.org>
This commit is contained in:
Akinori MUSHA 2001-05-18 14:20:15 +00:00
parent 33e0ea87da
commit 1e3888f0dc
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=42703
4 changed files with 8 additions and 4 deletions

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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