OSDN Git Service

An incorrect change for "show" command was fixed back.
authorMamoru Sakaue / MwGhennndo <glmwghennndo@users.sourceforge.jp>
Sun, 9 Dec 2012 09:58:41 +0000 (18:58 +0900)
committerMamoru Sakaue / MwGhennndo <glmwghennndo@users.sourceforge.jp>
Sun, 9 Dec 2012 09:58:41 +0000 (18:58 +0900)
modified:   portsreinstall
modified:   portsreinstall~

portsreinstall
portsreinstall~

index c31341e..042a14f 100755 (executable)
@@ -10,7 +10,7 @@
 # ================================================
 
 APPNAME=`basename "$0"`
-MYVERSION=2.0.0+toward_2.0.1_20121209183341
+MYVERSION=2.0.0+toward_2.0.1_20121209185741
 
 PREFIX=${PREFIX:-/usr/local}
 CONFFILE=${PREFIX}/etc/${APPNAME}.conf
@@ -1396,7 +1396,7 @@ show)
                exit 1
                ;;
        esac
-       [ -n "${_for_each_matching_port}" -a -r "${DBDIR}/$list" ] || exit 0
+       [ -n "${_for_each_matching_port}" -o -r "${DBDIR}/$list" ] || exit 0
        [ ! -e "${DBDIR}"/saved_options.sh ] || . "${DBDIR}"/saved_options.sh
        if [ -n "${_for_each_matching_port}" ]
        then
index db66a84..5d9ad26 100755 (executable)
@@ -10,7 +10,7 @@
 # ================================================
 
 APPNAME=`basename "$0"`
-MYVERSION=2.0.0+toward_2.0.1_20121209162229
+MYVERSION=2.0.0+toward_2.0.1_20121209183341
 
 PREFIX=${PREFIX:-/usr/local}
 CONFFILE=${PREFIX}/etc/${APPNAME}.conf
@@ -1396,7 +1396,7 @@ show)
                exit 1
                ;;
        esac
-       [ -n "${_for_each_matching_port}" -a -r "${DBDIR}/$list" ] || exit 0
+       [ -n "${_for_each_matching_port}" -o -r "${DBDIR}/$list" ] || exit 0
        [ ! -e "${DBDIR}"/saved_options.sh ] || . "${DBDIR}"/saved_options.sh
        if [ -n "${_for_each_matching_port}" ]
        then