setup includes media sync and defaults editor; moved almost all prompts to the start of the setup

This commit is contained in:
Wryn Wagner
2021-09-24 10:20:54 -06:00
parent 72d6e76602
commit e04a16bbcd
11 changed files with 86 additions and 65 deletions

View File

@ -1,4 +1,4 @@
base-devel
aws-cli-v2
cmake
cowsay
figlet

View File

@ -1,3 +1,4 @@
awscli
build-essential
cmake
cowsay

View File

@ -1,3 +1,4 @@
aws
build-essential
cmake
cowsay

View File

@ -21,6 +21,7 @@ function OS_DEPENDENCY__SETUP() {
case $OS_NAME in
arch )
OS_INSTALL() { OS_INSTALL__ARCH $@; }
WARNING 'base-devel is required; make sure it is installed'
YAY__INSTALL_FROM_SOURCE
;;
debian | ubuntu )
@ -60,10 +61,6 @@ function OS_DEPENDENCY__SETUP() {
function OS_INSTALL__ARCH() {
local TARGET="$1"
[[ $TARGET =~ ^base-devel$ ]] && {
WARNING 'base-devel is required; make sure it is installed'
return 0
}
CHECK "checking for $TARGET"
pacman -Qq | grep -q "^$TARGET$\|^$TARGET-git$" && OK || {
WARN "$TARGET not found"