From b470af54783361212edc3795628f5a6e4523cf4f Mon Sep 17 00:00:00 2001 From: Akinori MUSHA Date: Wed, 13 Feb 2002 11:19:34 +0000 Subject: 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 --- ports-mgmt/portupgrade-devel/pkg-plist | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ports-mgmt/portupgrade-devel/pkg-plist') diff --git a/ports-mgmt/portupgrade-devel/pkg-plist b/ports-mgmt/portupgrade-devel/pkg-plist index 1301988ae6cd..182e78432786 100644 --- a/ports-mgmt/portupgrade-devel/pkg-plist +++ b/ports-mgmt/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 -- cgit v1.2.3