wip
This commit is contained in:
parent
74b2375cb1
commit
ad09057d89
1 changed files with 7 additions and 5 deletions
12
dream.sh
12
dream.sh
|
@ -189,6 +189,7 @@ check_env() {
|
|||
pen blue "Testing your access.."
|
||||
$_sudo echo "${GREEN}${BOLD}Aye, it works!${NC}"
|
||||
line
|
||||
line
|
||||
else
|
||||
echo-error "No sudo found and you're not root! Can't install packages."
|
||||
return 69
|
||||
|
@ -481,6 +482,7 @@ dist_setup() {
|
|||
fi
|
||||
pen bold grey "Arch without the $(pen bold red AUR).."
|
||||
pen bold green "No worries, gonna fix this later.."
|
||||
line
|
||||
;;
|
||||
alpine)
|
||||
repen bold "Found $(pen blue bold $distro)"
|
||||
|
@ -548,11 +550,11 @@ update-package-list() {
|
|||
echo-error "${err:-}"
|
||||
fi
|
||||
|
||||
if command-exists paru; then
|
||||
check green bold "Paru is installed"
|
||||
else
|
||||
throw bold red "Something went wrong when installing paru!"
|
||||
fi
|
||||
# if command-exists paru; then
|
||||
# check green bold "Paru is installed"
|
||||
# else
|
||||
# throw bold red "Something went wrong when installing paru!"
|
||||
# fi
|
||||
fi
|
||||
fi
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue