directus db 9

This commit is contained in:
Valentin 2024-02-23 18:40:03 +01:00
parent ec5c04bd8d
commit c4edd61fbe
1 changed files with 8 additions and 3 deletions

View File

@ -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