diff options
Diffstat (limited to 'sysutils/portupgrade-devel')
-rw-r--r-- | sysutils/portupgrade-devel/pkg-plist | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sysutils/portupgrade-devel/pkg-plist b/sysutils/portupgrade-devel/pkg-plist index 3be08857fb2d..86341cee5875 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 |