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