diff --git a/dream.sh b/dream.sh index 80e06b0..0527633 100644 --- a/dream.sh +++ b/dream.sh @@ -487,7 +487,7 @@ update-package-list() { arch) if command-exists pacman; then if ! $aur; then - pen grey bold "If this is your first time after boot (or simmilarly soon) then this might take a while.." + pen grey bold "If this is your first time after installation (or simmilarly soon) then this might take a while.." spin bold grey "You don't have an AUR helper, gonna install one for ya!" local paruBuildDir="/opt/builds" @@ -505,22 +505,24 @@ update-package-list() { local err if run --err err makepkg --noconfirm -si; then + upclear check "Successfully installed $(pen red bold paru)" else + upclear throw "Couldn't install paru!" echo-error "${err:-}" fi if command-exists paru; then - pen green bold "Paru is installed" + check green bold "Paru is installed" else - echo-error "Something went wrong when installing paru!" + throw bold red "Something went wrong when installing paru!" fi fi fi spin blue bold "Refreshing $distro repositories.." - sleep 0.01 + # sleep 0.01 if command-exists paru; then run paru -Sy || repo::check