wip
This commit is contained in:
parent
ef04287336
commit
4cd3056f45
1 changed files with 5 additions and 1 deletions
6
dream.sh
6
dream.sh
|
@ -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"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue