import directus db 8

This commit is contained in:
Valentin 2024-04-17 17:59:57 +02:00
parent 11d78e9bb9
commit 2828dd5dcb
1 changed files with 1 additions and 1 deletions

View File

@ -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}" --strip-components=1 -C "${cms_directory}" tar -xzf "${directus_archive}" -C "${cms_directory}" --strip-components=1
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"