From 672efa0bf44bbddb018141aba2242ddbce2556d5 Mon Sep 17 00:00:00 2001 From: emmett1 Date: Sun, 27 Aug 2017 21:12:51 +0800 Subject: [PATCH] updated --- installpkg | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/installpkg b/installpkg index 1603aae..79bd8f4 100755 --- a/installpkg +++ b/installpkg @@ -119,12 +119,10 @@ checkdeps() { for dep in ${depends[@]}; do if [ ! -d $INDEX_DIR/$dep ]; then MSGDEP+=($dep) - #msg "Missing dep: ${color_yellow}$dep${color_reset}" - MISSING_DEP=yes fi done - if [ "$MISSING_DEP" ]; then + if [ "${#MSGDEP[@]}" -gt 0 ]; then msg "Missing dependencies:" for msdp in ${MSGDEP[@]}; do msg2 "$msdp"