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"