import directus db 6
This commit is contained in:
parent
89c834703a
commit
7a4e392f6c
|
@ -271,8 +271,8 @@ if [[ "$answer" == "y" ]]; then
|
|||
|
||||
directus_archive=$(ls /home/${username}/*.tar.gz);
|
||||
|
||||
tar -xzf "/home/${username}/${directus_archive}" -C "${cms_directory}"
|
||||
rm "/home/${username}/*.tar.gz"
|
||||
tar -xzf "${directus_archive}" -C "${cms_directory}"
|
||||
rm "${directus_archive}"
|
||||
|
||||
sed -i "s/^\(DB_PASSWORD=\)'.*'$/\1'$db_directus_password'/" "${cms_directory}/.env"
|
||||
|
||||
|
|
Loading…
Reference in New Issue