Code Cleaned up :) Better and Easier to Debug and Trace
This commit is contained in:
6
install.sh
Normal file → Executable file
6
install.sh
Normal file → Executable file
@@ -32,6 +32,10 @@ if [ "$proceed" != "y" ]; then
|
||||
fi
|
||||
|
||||
|
||||
# Create Directory for Install Logs
|
||||
if [ ! -d Install-Logs ]; then
|
||||
mkdir Install-Logs
|
||||
fi
|
||||
|
||||
# Set some colors for output messages
|
||||
OK="$(tput setaf 2)[OK]$(tput sgr0)"
|
||||
@@ -43,6 +47,7 @@ ORANGE=$(tput setaf 166)
|
||||
YELLOW=$(tput setaf 3)
|
||||
RESET=$(tput sgr0)
|
||||
|
||||
|
||||
# Function to colorize prompts
|
||||
colorize_prompt() {
|
||||
local color="$1"
|
||||
@@ -195,7 +200,6 @@ if [ "$dots" == "Y" ]; then
|
||||
|
||||
fi
|
||||
|
||||
clear
|
||||
|
||||
printf "\n${OK} Yey! Installation Completed.\n"
|
||||
printf "\n"
|
||||
|
||||
Reference in New Issue
Block a user