import directus db 8
This commit is contained in:
parent
11d78e9bb9
commit
2828dd5dcb
|
@ -271,7 +271,7 @@ if [[ "$answer" == "y" ]]; then
|
|||
|
||||
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}"
|
||||
|
||||
sed -i "s/^\(DB_PASSWORD=\)'.*'$/\1'$db_directus_password'/" "${cms_directory}/.env"
|
||||
|
|
Loading…
Reference in New Issue