diff options
Diffstat (limited to 'ship/lib/punani')
-rw-r--r-- | ship/lib/punani | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/ship/lib/punani b/ship/lib/punani index e8705c7d..8eef474b 100644 --- a/ship/lib/punani +++ b/ship/lib/punani @@ -34,8 +34,9 @@ punani(){ fi for PKG; do - RES="`_punani_resolve_package $PKG`" - test -z "$RES" && error "could not resolve '$PKG'; no punani for you!"&& return 23 + RES="`_punani_resolve_package $PKG`" || + die "could not resolve '$PKG'; no punani for you!" + case "$ACTION" in install) eval _punani_${PACKER}_has $RES && info "$RES already installed, skipping" && continue |