import directus db 6

This commit is contained in:
Valentin 2024-04-17 17:45:40 +02:00
parent 89c834703a
commit 7a4e392f6c
1 changed files with 2 additions and 2 deletions

View File

@ -271,8 +271,8 @@ if [[ "$answer" == "y" ]]; then
directus_archive=$(ls /home/${username}/*.tar.gz); directus_archive=$(ls /home/${username}/*.tar.gz);
tar -xzf "/home/${username}/${directus_archive}" -C "${cms_directory}" tar -xzf "${directus_archive}" -C "${cms_directory}"
rm "/home/${username}/*.tar.gz" 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"