import directus db 5
This commit is contained in:
parent
7b664fe444
commit
89c834703a
|
@ -269,7 +269,9 @@ if [[ "$answer" == "y" ]]; then
|
|||
echo -e "${PURPLE}${BOLD}Press any key when done${RESET}"
|
||||
read
|
||||
|
||||
tar -xzf "/home/${username}/*.tar.gz" -C "${cms_directory}"
|
||||
directus_archive=$(ls /home/${username}/*.tar.gz);
|
||||
|
||||
tar -xzf "/home/${username}/${directus_archive}" -C "${cms_directory}"
|
||||
rm "/home/${username}/*.tar.gz"
|
||||
|
||||
sed -i "s/^\(DB_PASSWORD=\)'.*'$/\1'$db_directus_password'/" "${cms_directory}/.env"
|
||||
|
|
Loading…
Reference in New Issue