diff --git a/install.sh b/install.sh index 096aa50..d9c0244 100644 --- a/install.sh +++ b/install.sh @@ -8,8 +8,6 @@ install_expect() { if ! command -v expect &> /dev/null; then apt install -y expect echo -e "${PURPLE}${BOLD}expect installed${RESET}" - else - echo -e "${PURPLE}${BOLD}expect already installed${RESET}" fi } @@ -165,7 +163,14 @@ if [[ "$answer" == "y" ]]; then send \"quit;\r\" expect eof ") - echo "${CREATE_DIRECTUS_DB}" + echo "${CREATE_DIRECTUS_DB}" >& /dev/null + echo -e "${PURPLE}${BOLD}Directus database created${RESET}" +fi + +echo -e "${PURPLE}${BOLD}Install NPM ? (y/n) ${RESET}" +read answer +if [[ "$answer" == "y" ]]; then + echo "youhou"; fi