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
This commit is contained in:
Akinori MUSHA 2002-02-13 11:19:34 +00:00
parent de245e7e2b
commit b470af5478
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=54653
12 changed files with 16 additions and 16 deletions

View File

@ -6,7 +6,7 @@
#
PORTNAME= portupgrade
PORTVERSION= 20020213
PORTVERSION= 20020213.1
CATEGORIES= sysutils
MASTER_SITES= ${MASTER_SITE_LOCAL} \
http://www.iDaemons.org/distfiles/

View File

@ -1,2 +1,2 @@
MD5 (pkgtools-20020204.tar.bz2) = 7bf7db180578c8e87871520ef9ff79b9
MD5 (pkgtools-20020204-20020213.diff.bz2) = ec2ccc50d12a3332c07c05e699e7f415
MD5 (pkgtools-20020204-20020213.1.diff.bz2) = 28bb3ee1f73297ef81fec7d5a47fe36f

View File

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

View File

@ -6,7 +6,7 @@
#
PORTNAME= portupgrade
PORTVERSION= 20020213
PORTVERSION= 20020213.1
CATEGORIES= sysutils
MASTER_SITES= ${MASTER_SITE_LOCAL} \
http://www.iDaemons.org/distfiles/

View File

@ -1,2 +1,2 @@
MD5 (pkgtools-20020204.tar.bz2) = 7bf7db180578c8e87871520ef9ff79b9
MD5 (pkgtools-20020204-20020213.diff.bz2) = ec2ccc50d12a3332c07c05e699e7f415
MD5 (pkgtools-20020204-20020213.1.diff.bz2) = 28bb3ee1f73297ef81fec7d5a47fe36f

View File

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

View File

@ -6,7 +6,7 @@
#
PORTNAME= portupgrade
PORTVERSION= 20020213
PORTVERSION= 20020213.1
CATEGORIES= sysutils
MASTER_SITES= ${MASTER_SITE_LOCAL} \
http://www.iDaemons.org/distfiles/

View File

@ -1,2 +1,2 @@
MD5 (pkgtools-20020204.tar.bz2) = 7bf7db180578c8e87871520ef9ff79b9
MD5 (pkgtools-20020204-20020213.diff.bz2) = ec2ccc50d12a3332c07c05e699e7f415
MD5 (pkgtools-20020204-20020213.1.diff.bz2) = 28bb3ee1f73297ef81fec7d5a47fe36f

View File

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

View File

@ -6,7 +6,7 @@
#
PORTNAME= portupgrade
PORTVERSION= 20020213
PORTVERSION= 20020213.1
CATEGORIES= sysutils
MASTER_SITES= ${MASTER_SITE_LOCAL} \
http://www.iDaemons.org/distfiles/

View File

@ -1,2 +1,2 @@
MD5 (pkgtools-20020204.tar.bz2) = 7bf7db180578c8e87871520ef9ff79b9
MD5 (pkgtools-20020204-20020213.diff.bz2) = ec2ccc50d12a3332c07c05e699e7f415
MD5 (pkgtools-20020204-20020213.1.diff.bz2) = 28bb3ee1f73297ef81fec7d5a47fe36f

View File

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