summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xbin/pkg4
1 files changed, 4 insertions, 0 deletions
diff --git a/bin/pkg b/bin/pkg
index e58d0f4..9b9937f 100755
--- a/bin/pkg
+++ b/bin/pkg
@@ -568,6 +568,10 @@ function pkg_update_local {
function pkg_info {
cd $PDIR
+ if [[ -z $(list_exists $1) ]] {
+ die "No suche package: '$1'\n"
+ }
+
# Fetch the infos
NAME=$1
LOCAL_VERSION=$(list_local_version $1)