aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/portupgrade/pkg-plist
diff options
context:
space:
mode:
authorknu <knu@FreeBSD.org>2002-02-13 19:19:34 +0800
committerknu <knu@FreeBSD.org>2002-02-13 19:19:34 +0800
commit2b6dd6a0d1a68f32ad2f6ae1550dd2ce490c1dbe (patch)
treed26a3eea6ae7f39fdaf557261b5d7382909d89e4 /sysutils/portupgrade/pkg-plist
parent8958721474185fcc078cd6a9344cafbdf11491a0 (diff)
downloadfreebsd-ports-graphics-2b6dd6a0d1a68f32ad2f6ae1550dd2ce490c1dbe.tar.gz
freebsd-ports-graphics-2b6dd6a0d1a68f32ad2f6ae1550dd2ce490c1dbe.tar.zst
freebsd-ports-graphics-2b6dd6a0d1a68f32ad2f6ae1550dd2ce490c1dbe.zip
Update to 20020213.1 which fixes the PKG_DBDRIVER problem introduced
in the last version. For the victims please manually reinstall the portupgrade port, as always. ;) Reported by: many users (Sorry!) Use some logic and keep pkg_add/pkg_delete from complaining about the @exec/@unexec return codes. Submitted by: olgeni
Diffstat (limited to 'sysutils/portupgrade/pkg-plist')
-rw-r--r--sysutils/portupgrade/pkg-plist4
1 files changed, 2 insertions, 2 deletions
diff --git a/sysutils/portupgrade/pkg-plist b/sysutils/portupgrade/pkg-plist
index 1301988ae6c..182e7843278 100644
--- a/sysutils/portupgrade/pkg-plist
+++ b/sysutils/portupgrade/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