From 400dae7e51b19e1fa0f68daebad194d8435bd303 Mon Sep 17 00:00:00 2001 From: emmett1 Date: Thu, 11 Jul 2019 17:25:38 +0800 Subject: [PATCH] updated --- scratch | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/scratch b/scratch index 3d4382e..61a73d7 100755 --- a/scratch +++ b/scratch @@ -105,11 +105,6 @@ installed_pkg_info() { allinstalled() { grep ^name "$INDEX_DIR"/*/.pkginfo | awk '{print $3}' - #for i in $INDEX_DIR/*; do - #if isinstalled ${i##*/}; then - #echo ${i##*/} - #fi - #done } get_depends() { @@ -1189,7 +1184,7 @@ scratch_upgrade() { scratch_outdate() { local pkg - for pkg in $(scratch_listinst | awk '{print $1}'); do + for pkg in $(allinstalled); do if [ $(getportpath $pkg) ]; then . $(getportpath $pkg)/$BUILD_SCRIPT iversion=$(installed_pkg_info version $pkg)