directus db 9

This commit is contained in:
Valentin 2024-02-23 18:40:03 +01:00
parent ec5c04bd8d
commit c4edd61fbe

View File

@ -8,8 +8,6 @@ install_expect() {
if ! command -v expect &> /dev/null; then if ! command -v expect &> /dev/null; then
apt install -y expect apt install -y expect
echo -e "${PURPLE}${BOLD}expect installed${RESET}" echo -e "${PURPLE}${BOLD}expect installed${RESET}"
else
echo -e "${PURPLE}${BOLD}expect already installed${RESET}"
fi fi
} }
@ -165,7 +163,14 @@ if [[ "$answer" == "y" ]]; then
send \"quit;\r\" send \"quit;\r\"
expect eof 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 fi