break it while wip

This commit is contained in:
pika 2025-05-24 01:40:50 +02:00
parent d1e6291a2a
commit d146d8e422

View file

@ -134,12 +134,12 @@ check-and-install() {
line
for pkg in "$@"; do
((accum++))
local count="$(echo [${accum}/${pkglength}])"
# local count="$(echo [${accum}/${pkglength}])"
if ! command-exists $pkg; then
spin bold "$(pen bold yellow Installing "$count" $pkg)"
spin bold "$(pen bold green ${accum}/${pkglenght} Installed)"
if run --err err pkg-install $pkg; then
upclear
check "$(pen bold green $count Installed) $pkg"
check "$(pen bold green ${accum}/${pkglenght} Installed) $pkg"
else
upclear
throw "Something went wrong! Could not install $(pen bold red $count $pkg)"