From 531edb0107c742d1f722901ef95f4b1e09930906 Mon Sep 17 00:00:00 2001 From: "Ja.KooLit" Date: Fri, 5 Jan 2024 22:45:20 +0900 Subject: [PATCH] updated install.sh and preset.sh --- install.sh | 12 ++---------- preset.sh | 10 ++++++++-- 2 files changed, 10 insertions(+), 12 deletions(-) diff --git a/install.sh b/install.sh index 88cc9b5..e7c80f1 100755 --- a/install.sh +++ b/install.sh @@ -25,6 +25,7 @@ echo "$(tput setaf 3)NOTE: If you are installing on a VM, ensure to enable 3D ac echo read -p "$(tput setaf 6)Would you like to proceed? (y/n): $(tput sgr0)" proceed + printf "\n%.0s" {1..2} echo "$(tput bold)$(tput setaf 7)Choose Y to use preset ONLY once you reviewed, updated or updated the preset.sh $(tput sgr0)" echo "$(tput bold)$(tput setaf 7)If you are not sure what to do, choose N in the "Use Preset Settings" question $(tput sgr0)" @@ -38,21 +39,12 @@ if [ "$proceed" != "y" ]; then exit 1 fi -if [[ $use_preset = [Yy] ]]; then - source ./preset.sh -fi - - - - - - - # Create Directory for Install Logs if [ ! -d Install-Logs ]; then mkdir Install-Logs fi +# Use of Preset Settings if [[ $use_preset = [Yy] ]]; then source ./preset.sh fi diff --git a/preset.sh b/preset.sh index ced849d..9d30a1c 100644 --- a/preset.sh +++ b/preset.sh @@ -1,5 +1,11 @@ -############ !!!!!Make sure you use the right answer or it may failed -### +# 💫 https://github.com/JaKooLit 💫 # +# +# CREDIT to: https://github.com/PostCyberPunk for this Preset function + +## -- Make sure you use the right answer or install script will fail ### +# Make sure proper AUR Helper is use NO Upperscript. Either paru or yay only is accepted +# The rest Change to Y for Yes and N for No. + ### -Type AUR helper ### yay or paru aur_helper="yay"