From c820635299e4e0611469ea8a81ad71d3332a3f27 Mon Sep 17 00:00:00 2001 From: emmett1 Date: Mon, 23 Jul 2018 21:53:40 +0800 Subject: [PATCH] updated --- scratch | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scratch b/scratch index b1b5e97..7c936a7 100755 --- a/scratch +++ b/scratch @@ -314,6 +314,8 @@ installpkg() { for i in ${PKG[@]}; do if [ -f $INDEX_DIR/$i/.pkginfo ]; then echo "Package '$i' already installed." + elif [ ! $(getportpath $i) ]; then + echo "Package '$i' not found." else IPKG+=($i) fi