import directus db 9
This commit is contained in:
parent
2828dd5dcb
commit
535fbd0da9
|
@ -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}" --strip-components=1
|
tar -xzf "${directus_archive}" -C "${cms_directory}" --strip-components=2
|
||||||
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