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