Added: automation script

This commit is contained in:
mollusk 2017-07-10 11:26:35 -07:00
parent caba5dac35
commit 68f6cc7811

30
scripts/setup.sh Executable file
View File

@ -0,0 +1,30 @@
#!/bin/bash
# Colors
RED='\033[0;31m'
LRED="\033[1;31m"
BLUE="\033[0;34m"
LBLUE="\033[1;34m"
GREEN="\033[0;32m"
LGREEN="\033[1;32m"
YELLOW="\033[1;33m"
CYAN="\033[0;36m"
LCYAN="\033[1;36m"
PURPLE="\033[0;35m"
LPURPLE="\033[1;35m"
BWHITE="\e[1m"
NC='\033[0m' # No Color
sync_and_install(){
XbpsLocation=$(which dnf)
}
main_menu(){
printf "${YELLOW}[1] - ${NC}${LCYAN}Sync and install ${NC}\n"
sync_and_install
}
main_menu