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