This commit is contained in:
pika 2025-05-24 01:16:08 +02:00
parent 4cd3056f45
commit 9e70e386b6

View file

@ -145,10 +145,13 @@ 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 >───────────────────────────────────
if ! pen grey "Packages to install: $(pen green bold $pkglength)"; then # if ! pen grey "Packages to install: $(pen green bold $pkglength)"; then
exit 1 # exit 1
fi # fi
pen grey "Packages to install: $(pen green bold $pkglength)"
for a in "$@"; do
pen red bold "DEBUG: $a"
done
line line
for pkg in "$@"; do for pkg in "$@"; do
if ! command-exists $pkg; then if ! command-exists $pkg; then