This commit is contained in:
pika 2025-05-24 01:12:42 +02:00
parent ef04287336
commit 4cd3056f45

View file

@ -145,7 +145,11 @@ check-and-install() {
# else # else
local pkglength="${#@}" local pkglength="${#@}"
# ─< else go though the list of items and do the same >─────────────────────────────────── # ─< else go though the list of items and do the same >───────────────────────────────────
pen grey "Packages to install: $(pen green bold $pkglength)" if ! pen grey "Packages to install: $(pen green bold $pkglength)"; then
exit 1
fi
line
for pkg in "$@"; do for pkg in "$@"; do
if ! command-exists $pkg; then if ! command-exists $pkg; then
spin bold "$(pen bold yellow Installing) $pkg" spin bold "$(pen bold yellow Installing) $pkg"