From 094ccb9b1f1f80518b88c20f538183e1d0852410 Mon Sep 17 00:00:00 2001 From: JaKooLit Date: Thu, 6 Feb 2025 12:12:39 +0900 Subject: [PATCH] and yet I thought I already tweaked --- install-scripts/paru.sh | 5 +++-- install-scripts/yay.sh | 5 +++-- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/install-scripts/paru.sh b/install-scripts/paru.sh index b443e6f..2e057af 100755 --- a/install-scripts/paru.sh +++ b/install-scripts/paru.sh @@ -19,7 +19,9 @@ MAGENTA="$(tput setaf 5)" ORANGE="$(tput setaf 214)" WARNING="$(tput setaf 1)" YELLOW="$(tput setaf 3)" +GREEN="$(tput setaf 2)" BLUE="$(tput setaf 4)" +SKY_BLUE="$(tput setaf 6)" RESET="$(tput sgr0)" @@ -37,9 +39,8 @@ fi ISAUR=$(command -v yay || command -v paru) if [ -n "$ISAUR" ]; then - printf "\n%s - AUR helper already installed, moving on..\n" "${OK}" + printf "\n%s - ${SKY_BLUE}AUR helper${RESET} already installed, moving on.\n" "${OK}" else - printf "\n%s - AUR helper was NOT located\n" "$WARN" printf "\n%s - Installing ${SKY_BLUE}paru-bin${RESET} from AUR\n" "${NOTE}" git clone https://aur.archlinux.org/paru-bin.git || { printf "%s - Failed to clone ${YELLOW}paru-bin${RESET} from AUR\n" "${ERROR}"; exit 1; } cd paru-bin || { printf "%s - Failed to enter paru directory\n" "${ERROR}"; exit 1; } diff --git a/install-scripts/yay.sh b/install-scripts/yay.sh index 60b9a37..5b41a5a 100755 --- a/install-scripts/yay.sh +++ b/install-scripts/yay.sh @@ -19,7 +19,9 @@ MAGENTA="$(tput setaf 5)" ORANGE="$(tput setaf 214)" WARNING="$(tput setaf 1)" YELLOW="$(tput setaf 3)" +GREEN="$(tput setaf 2)" BLUE="$(tput setaf 4)" +SKY_BLUE="$(tput setaf 6)" RESET="$(tput sgr0)" # Create Directory for Install Logs @@ -35,9 +37,8 @@ fi # Check for AUR helper and install if not found ISAUR=$(command -v yay || command -v paru) if [ -n "$ISAUR" ]; then - printf "\n%s - AUR helper already installed, moving on.\n" "${OK}" + printf "\n%s - ${SKY_BLUE}AUR helper${RESET} already installed, moving on.\n" "${OK}" else - printf "\n%s - AUR helper was NOT located\n" "$WARN" printf "\n%s - Installing ${SKY_BLUE}yay${RESET} from AUR\n" "${NOTE}" git clone https://aur.archlinux.org/yay.git || { printf "%s - Failed to clone ${YELLOW}yay${RESET} from AUR\n" "${ERROR}"; exit 1; } cd yay || { printf "%s - Failed to enter yay directory\n" "${ERROR}"; exit 1; }