aboutsummaryrefslogtreecommitdiff
path: root/sysutils/portupgrade-devel/pkg-plist
diff options
context:
space:
mode:
authorAkinori MUSHA <knu@FreeBSD.org>2002-02-13 11:19:34 +0000
committerAkinori MUSHA <knu@FreeBSD.org>2002-02-13 11:19:34 +0000
commitb470af54783361212edc3795628f5a6e4523cf4f (patch)
treec1d40934864bb35c17573a339ba2ec5d7996d77f /sysutils/portupgrade-devel/pkg-plist
parentde245e7e2bfffd61a609f2d8963ed2d24b7321fd (diff)
downloadports-b470af54783361212edc3795628f5a6e4523cf4f.tar.gz
ports-b470af54783361212edc3795628f5a6e4523cf4f.zip
Notes
Diffstat (limited to 'sysutils/portupgrade-devel/pkg-plist')
-rw-r--r--sysutils/portupgrade-devel/pkg-plist4
1 files changed, 2 insertions, 2 deletions
diff --git a/sysutils/portupgrade-devel/pkg-plist b/sysutils/portupgrade-devel/pkg-plist
index 1301988ae6cd..182e78432786 100644
--- a/sysutils/portupgrade-devel/pkg-plist
+++ b/sysutils/portupgrade-devel/pkg-plist
@@ -28,11 +28,11 @@ sbin/portversion
%%RUBY_SITELIBDIR%%/tsort.rb
@unexec if cmp -s %D/etc/pkgtools.conf %D/etc/pkgtools.conf.sample; then rm -f %D/etc/pkgtools.conf; fi
etc/pkgtools.conf.sample
-@exec [ ! -f %B/pkgtools.conf ] && cp %B/%f %B/pkgtools.conf
+@exec [ -f %B/pkgtools.conf ] || cp %B/%f %B/pkgtools.conf
etc/pkgtools.status-pkg.sh
share/zsh/site-functions/_pkgtools
share/zsh/site-functions/_pkg_tarup
-@unexec [ ! -f %D/bin/zsh ] && rmdir %D/share/zsh/site-functions 2>/dev/null || true
+@unexec [ -f %D/bin/zsh ] || rmdir %D/share/zsh/site-functions 2>/dev/null || true
@unexec rmdir %D/share/zsh 2>/dev/null || true
%%PORTDOCS%%share/examples/pkgtools/bash/complete.sample
%%PORTDOCS%%@dirrm share/examples/pkgtools/bash