From 845f314c5269982bca2ab543f9c64f4085ebcf3d Mon Sep 17 00:00:00 2001 From: Valentin Date: Fri, 23 Feb 2024 20:52:10 +0100 Subject: [PATCH] install directus 5 --- install.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/install.sh b/install.sh index 1c2c4cd..3a27190 100644 --- a/install.sh +++ b/install.sh @@ -214,9 +214,9 @@ if [[ "$answer" == "y" ]]; then install_pkg tmux get_username echo "${username}" - su -c 'cd &&\ + su -c "cd &&\ npm init directus-project@latest cms.${domain_name} &&\ - echo "HOST=${ip}" >> cms.${domain_name}/.env &&\ - echo "PUBLIC_URL=cms.${domain_name}" >> cms.${domain_name}/.env' $username + echo \"HOST=${ip}\" >> cms.${domain_name}/.env &&\ + echo \"PUBLIC_URL=cms.${domain_name}\" >> cms.${domain_name}/.env" $username fi # TODO REMOVE EXPECT IF IT IS INSTALLED \ No newline at end of file