From b4527ce34bdb8d2bf4e3a62d618497cd837fcd66 Mon Sep 17 00:00:00 2001 From: emmett1 Date: Tue, 22 Jan 2019 00:15:47 +0800 Subject: [PATCH] updated --- pkgdeplist | 12 ++++++------ scratch | 2 +- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/pkgdeplist b/pkgdeplist index ed642bc..498fb07 100755 --- a/pkgdeplist +++ b/pkgdeplist @@ -163,12 +163,12 @@ if [ ! "$INSTALLED" ] && [ ! "$NOT_INSTALLED" ] && [ ! "$MISSING" ]; then fi # check for ports existence -for pkg in ${PKG[@]}; do - if [ ! $(getportpath $pkg) ]; then - msgerr "Package '$pkg' not found." - exit 1 - fi -done +#for pkg in ${PKG[@]}; do + #if [ ! $(getportpath $pkg) ]; then + #msgerr "Package '$pkg' not found." + #exit 1 + #fi +#done # calculate dependencies for pkg in ${PKG[@]}; do diff --git a/scratch b/scratch index cc144d6..9b63d8d 100755 --- a/scratch +++ b/scratch @@ -338,7 +338,7 @@ showdependent() { fi done - [ "$GDP" ] || msg "No package depends on '$1'." + [ "$GDP" ] && return 0 || return 1 } checkowner() {