wip
This commit is contained in:
parent
259b2cd66a
commit
6c08024cd9
1 changed files with 6 additions and 4 deletions
10
dream.sh
10
dream.sh
|
@ -487,7 +487,7 @@ update-package-list() {
|
||||||
arch)
|
arch)
|
||||||
if command-exists pacman; then
|
if command-exists pacman; then
|
||||||
if ! $aur; 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!"
|
spin bold grey "You don't have an AUR helper, gonna install one for ya!"
|
||||||
|
|
||||||
local paruBuildDir="/opt/builds"
|
local paruBuildDir="/opt/builds"
|
||||||
|
@ -505,22 +505,24 @@ update-package-list() {
|
||||||
|
|
||||||
local err
|
local err
|
||||||
if run --err err makepkg --noconfirm -si; then
|
if run --err err makepkg --noconfirm -si; then
|
||||||
|
upclear
|
||||||
check "Successfully installed $(pen red bold paru)"
|
check "Successfully installed $(pen red bold paru)"
|
||||||
else
|
else
|
||||||
|
upclear
|
||||||
throw "Couldn't install paru!"
|
throw "Couldn't install paru!"
|
||||||
echo-error "${err:-}"
|
echo-error "${err:-}"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if command-exists paru; then
|
if command-exists paru; then
|
||||||
pen green bold "Paru is installed"
|
check green bold "Paru is installed"
|
||||||
else
|
else
|
||||||
echo-error "Something went wrong when installing paru!"
|
throw bold red "Something went wrong when installing paru!"
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
spin blue bold "Refreshing $distro repositories.."
|
spin blue bold "Refreshing $distro repositories.."
|
||||||
sleep 0.01
|
# sleep 0.01
|
||||||
|
|
||||||
if command-exists paru; then
|
if command-exists paru; then
|
||||||
run paru -Sy || repo::check
|
run paru -Sy || repo::check
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue