wip
This commit is contained in:
parent
478354f0c9
commit
07b9cf9e60
1 changed files with 2 additions and 2 deletions
4
dream.sh
4
dream.sh
|
@ -129,12 +129,12 @@ check-and-install() {
|
||||||
spin bold yellow "Installing $pkg"
|
spin bold yellow "Installing $pkg"
|
||||||
if ! command-exists "$pkg"; then
|
if ! command-exists "$pkg"; then
|
||||||
if run pkg-install "$pkg"; then
|
if run pkg-install "$pkg"; then
|
||||||
check "Installed $pkg"
|
check bold "$(pen green bold 'Installed') $pkg"
|
||||||
else
|
else
|
||||||
throw bold red "Error installing $pkg"
|
throw bold red "Error installing $pkg"
|
||||||
fi
|
fi
|
||||||
else
|
else
|
||||||
check "$pkg $(pen grey bold 'already installed')"
|
check bold "$pkg $(pen grey bold 'was already installed')"
|
||||||
# echo_pkg deps "skipping $pkg - as it's ${RED}already installed.."
|
# echo_pkg deps "skipping $pkg - as it's ${RED}already installed.."
|
||||||
fi
|
fi
|
||||||
else
|
else
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue