From c4edd61fbee8f28fbb0296e47eea8f82e970c58f Mon Sep 17 00:00:00 2001 From: Valentin Date: Fri, 23 Feb 2024 18:40:03 +0100 Subject: [PATCH] directus db 9 --- install.sh | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) 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