diff --git a/scratch b/scratch index 0eba1f6..00f079d 100755 --- a/scratch +++ b/scratch @@ -381,6 +381,7 @@ installpkg() { echo "Package '$i' already installed." elif [ ! $(getportpath $i) ]; then echo "Package '$i' not found." + exit 1 else IPKG+=($i) fi