import directus db 11

This commit is contained in:
Valentin 2024-04-17 18:18:56 +02:00
parent e4717d6433
commit 5c88a81e5d
1 changed files with 1 additions and 2 deletions

View File

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