OSDN Git Service

Bug fix to incomplete parts concerned with -g option.
authorMamoru Sakaue / MwGhennndo <glmwghennndo@users.sourceforge.jp>
Sat, 19 Jan 2013 14:06:57 +0000 (23:06 +0900)
committerMamoru Sakaue / MwGhennndo <glmwghennndo@users.sourceforge.jp>
Sat, 19 Jan 2013 14:06:57 +0000 (23:06 +0900)
modified:   portsreinstall

portsreinstall

index 679353f..d04474f 100755 (executable)
@@ -10,7 +10,7 @@
 # ================================================
 
 APPNAME=`basename "$0"`
-MYVERSION=2.2.2+toward_2.2.3_20130119205828
+MYVERSION=2.2.2+toward_2.2.3_20130119230628
 
 PREFIX=${PREFIX:-/usr/local}
 CONFFILE=${PREFIX}/etc/${APPNAME}.conf
@@ -908,6 +908,9 @@ inspect_dependencies ()
        if [ $supress_self_upadte = yes -a `expr "$pkg" : "^${APPNAME}-[0-9].*"` -gt 0 ]
        then
                is_supressed=yes
+       elif [ $supress_pkgng_upadte = yes -a `expr "$pkg" : "^pkg-[0-9].*"` -gt 0 ]
+       then
+               is_supressed=yes
        else
                is_supressed=no
        fi
@@ -1615,6 +1618,7 @@ then
                -e '^keep_distfiles=' \
                -e '^renew_options=' \
                -e '^supress_self_upadte=' \
+               -e '^supress_pkgng_upadte=' \
                -e '^supress_obsolete_db_clean=' \
                > ${DBDIR}/saved_options.sh || :
        touch "${DBDIR}/COMPLETE_SAVE_OPTIONS"