removed the exit on individual install scripts since its already handled by Global functions

This commit is contained in:
JaKooLit
2025-02-04 16:21:58 +09:00
parent f578249698
commit c4074aeffa
12 changed files with 5 additions and 40 deletions

View File

@@ -30,9 +30,6 @@ LOG="Install-Logs/install-$(date +%d-%H%M%S)_zsh.log"
printf "\n%s - Installing ${SKY_BLUE}zsh packages${RESET} .... \n" "${NOTE}"
for ZSH in "${zsh_pkg[@]}"; do
install_package "$ZSH" "$LOG"
if [ $? -ne 0 ]; then
exit 1
fi
done
## Optional Pokemon color scripts
@@ -63,10 +60,6 @@ done
if [[ "$pokemon_choice" =~ [Yy] ]]; then
echo "${NOTE} Installing ${SKY_BLUE}Pokemon color scripts${RESET} ..."
install_package 'pokemon-colorscripts-git' "$LOG"
if [ $? -ne 0 ]; then
echo "${ERROR} Failed to install ${YELLOW}Pokemon color scripts${RESET} . Please check the log." | tee -a "$LOG"
exit 1
fi
fi
# Install Oh My Zsh, plugins, and set zsh as default shell