Skip to content

Commit

Permalink
"some fixes"
Browse files Browse the repository at this point in the history
  • Loading branch information
Josee9988 committed Jul 8, 2021
1 parent 40f64d6 commit fe02d20
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions SETUP_TEMPLATE.sh
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ NC='\033[0m' # No Color
UPurple='\033[4;35m'
BBLUE='\033[1;34m'
GREEN='\033[1;32m'
FILE_FUNCTION_HELPERS=bin/FUNCTION_HELPERS.sh
OMIT_STR="--omit-commit-and-confirmation"
FILE_FUNCTION_HELPERS=bin/FUNCTION_HELPERS.sh

if [ ! -f "$FILE_FUNCTION_HELPERS" ]; then # check if the function helpers file is not found
echo -e "${RED}Can not find ${FILE_FUNCTION_HELPERS}"
Expand Down Expand Up @@ -65,7 +65,7 @@ fi
echo -e "Thanks for using ${GREEN}Josee9988/project-template${NC}"
echo -e "Read carefully all the documentation before you continue executing this script: ${UPurple}https://github.com/Josee9988/project-template${NC}\n"

if [ ! $4 = "$OMIT_STR" ]; then # if the project's type has been manually specified
if [ ! "$4" = "$OMIT_STR" ]; then # if the project's type has been manually specified
read -p "Enter $(echo -e "$BBLUE""what your project is""$NC") (program/extension/API/web/CLI tool/backend/frontend/scrapper/automation tool/etc): " PROJECT_TYPE
read -p "Is this data correct: username \"$(echo -e "$GREEN""$NEW_USERNAME""$NC")\", email: \"$(echo -e "$GREEN""$NEW_EMAIL""$NC")\", project name: \"$(echo -e "$GREEN""$PROJECT_NAME""$NC")\", of type: \"$(echo -e "$GREEN""$PROJECT_TYPE""$NC")\" (y/n)? " choice
else
Expand Down

0 comments on commit fe02d20

Please sign in to comment.