OSDN Git Service

Version 3.0.5+toward_3.0.6_20140602024014
authorMamoru Sakaue / MwGhennndo <glmwghennndo@users.sourceforge.jp>
Sun, 1 Jun 2014 17:40:47 +0000 (02:40 +0900)
committerMamoru Sakaue / MwGhennndo <glmwghennndo@users.sourceforge.jp>
Sun, 1 Jun 2014 17:40:47 +0000 (02:40 +0900)
[BUG FIX] Reload of configuration where replacement rule is changed possibly caused errors in the phase of "Inspection of necessity".

modified:   README
modified:   bin/portsreinstall
modified:   lib/libdatabase_build.sh
modified:   man/portsreinstall.8

README
bin/portsreinstall
lib/libdatabase_build.sh
man/portsreinstall.8

diff --git a/README b/README
index 1ef343f..58334bb 100644 (file)
--- a/README
+++ b/README
@@ -1,6 +1,6 @@
 ================================================================================
  portsreinstall - ports upgrading utility for massive forced reinstallation
-  Version 3.0.6, June 1, 2014
+  Version 3.0.6, June 2, 2014
  Copyright (C) 2010-2014 Mamoru Sakaue, MwGhennndo, All Rights Reserved.
 ================================================================================
 
index 976c83c..6ded243 100755 (executable)
@@ -15,7 +15,7 @@ APPNAME=`basename "$0"`
 # MYVERSION=3.0.6
 # COMPATIBLE_VERSIONS='^(3\.0\.[0-9]+)$'
 # Template for development versions
-MYVERSION=3.0.5+toward_3.0.6_20140601202901
+MYVERSION=3.0.5+toward_3.0.6_20140602024014
 COMPATIBLE_VERSIONS='^(3\.0\.[0-9]+\+toward_3\.0\.[0-9]+_[0-9]+|3\.0\.[0-9]+)$'
 MYPREFIX=`dirname "\`dirname \"$0\"\`" | sed 's|/bin$||'`
 MYPREFIX=${MYPREFIX:-/usr/local}
index 5a4bbeb..9cf684e 100644 (file)
@@ -640,7 +640,7 @@ database_build_inspect_necessity_for_only_new_upgrade ()
        origin=$1
        level=$2
        dbpath=${DBDIR}/requires/$origin
-       [ -e "$dbpath/necessary_port.${level}" ] && return
+       [ ! -d "$dbpath" -o -e "$dbpath/necessary_port.${level}" ] && return
        tmpfile=${TMPDIR}/database_build_inspect_necessity_for_only_new_upgrade:`echo "$origin" | tr / :`
        if database_query_does_a_port_need_update "$origin"
        then
index ef79b7c..717de9a 100644 (file)
@@ -2,7 +2,7 @@
 .\" ports reinstall installation guide
 .\" Copyright (C) 2010-2014 Mamoru Sakaue, MwGhennndo, All Rights Reserved.
 .\" ==================================================================================
-.TH PORTSREINSTALL 8 "1 June 2014" "FreeBSD" "FreeBSD System Manager's Manual"
+.TH PORTSREINSTALL 8 "2 June 2014" "FreeBSD" "FreeBSD System Manager's Manual"
 .SH NAME
 portsreinstall \- ports upgrading utility for massive forced reinstallation
 .SH SYNOPSIS
@@ -912,7 +912,7 @@ Configuration file of \fBportupgrade\fR(1).
 .SH HISTORY
 \fBportsreinstall\fR has been developed as below.
 .TP
-3.0.6 (01 June 2014)
+3.0.6 (02 June 2014)
 .RS
 [BUG FIX] Command \fBprepare\fR was possibly aborted at a port any of whose requirements or dependents is obsolete.
 .PP
@@ -925,6 +925,8 @@ Configuration file of \fBportupgrade\fR(1).
 [BUG FIX] The error message for specifying option \fB\-L\fR or \fB\-N\fR for other than \fBredo\fR command was wrong (\fB\-L\fR was missing).
 .PP
 [BUG FIX] Control sequences in output of the long help by \fB\-H\fR option was not correctly handled in some environment (detected in 10.0-RELEASE).
+.PP
+[BUG FIX] Reload of configuration where replacement rule is changed possibly caused errors in the phase of "Inspection of necessity".
 .RE
 .TP
 3.0.5 (14 December 2013)