break it while wip
This commit is contained in:
parent
d1e6291a2a
commit
d146d8e422
1 changed files with 3 additions and 3 deletions
6
dream.sh
6
dream.sh
|
@ -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)"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue