import directus db 10
This commit is contained in:
parent
535fbd0da9
commit
e4717d6433
|
@ -283,7 +283,7 @@ if [[ "$answer" == "y" ]]; then
|
||||||
LOAD_DIRECTUS_DB=$(expect -c "
|
LOAD_DIRECTUS_DB=$(expect -c "
|
||||||
spawn mariadb -u directus -p directus < $sql_dump
|
spawn mariadb -u directus -p directus < $sql_dump
|
||||||
expect \"Enter password:\"
|
expect \"Enter password:\"
|
||||||
send \"$db_directus_password\r\"
|
send ${db_directus_password}\r
|
||||||
expect eof
|
expect eof
|
||||||
")
|
")
|
||||||
echo "${LOAD_DIRECTUS_DB}" >& /dev/null
|
echo "${LOAD_DIRECTUS_DB}" >& /dev/null
|
||||||
|
|
Loading…
Reference in New Issue