From 535fbd0da9dcf65f5bfb28232474421da7db2deb Mon Sep 17 00:00:00 2001 From: Valentin Date: Wed, 17 Apr 2024 18:02:20 +0200 Subject: [PATCH] import directus db 9 --- install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install.sh b/install.sh index bc9ccc9..35eaced 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}" --strip-components=1 + tar -xzf "${directus_archive}" -C "${cms_directory}" --strip-components=2 rm "${directus_archive}" sed -i "s/^\(DB_PASSWORD=\)'.*'$/\1'$db_directus_password'/" "${cms_directory}/.env"