import directus db 11
This commit is contained in:
parent
e4717d6433
commit
5c88a81e5d
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue