From 5c88a81e5d27ddc8b4fcbc357ea7e41aed0345a2 Mon Sep 17 00:00:00 2001 From: Valentin Date: Wed, 17 Apr 2024 18:18:56 +0200 Subject: [PATCH] import directus db 11 --- install.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/install.sh b/install.sh index 13a0770..03edc78 100644 --- a/install.sh +++ b/install.sh @@ -283,8 +283,7 @@ if [[ "$answer" == "y" ]]; then LOAD_DIRECTUS_DB=$(expect -c " spawn mariadb -u directus -p directus < $sql_dump expect \"Enter password:\" - send ${db_directus_password}\r - expect eof + send \"$db_directus_password\r\" ") echo "${LOAD_DIRECTUS_DB}" >& /dev/null rm $sql_dump