From 7a4e392f6caeaf1ba3b807e7be52b68c71dd8de0 Mon Sep 17 00:00:00 2001 From: Valentin Date: Wed, 17 Apr 2024 17:45:40 +0200 Subject: [PATCH] import directus db 6 --- install.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/install.sh b/install.sh index a1f3eeb..c5dcc09 100644 --- a/install.sh +++ b/install.sh @@ -271,8 +271,8 @@ if [[ "$answer" == "y" ]]; then directus_archive=$(ls /home/${username}/*.tar.gz); - tar -xzf "/home/${username}/${directus_archive}" -C "${cms_directory}" - rm "/home/${username}/*.tar.gz" + tar -xzf "${directus_archive}" -C "${cms_directory}" + rm "${directus_archive}" sed -i "s/^\(DB_PASSWORD=\)'.*'$/\1'$db_directus_password'/" "${cms_directory}/.env"