directus db 9
This commit is contained in:
parent
ec5c04bd8d
commit
c4edd61fbe
11
install.sh
11
install.sh
@ -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
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user