diff --git a/install.sh b/install.sh index 84d1977..52fe9ae 100644 --- a/install.sh +++ b/install.sh @@ -334,9 +334,11 @@ if [[ "$answer" == "y" ]]; then front_folder=$(echo "$repo_url" | sed 's#.*/\([^/]*\)\.git#\1#') if [[ -z "$website_token" ]]; then echo -e "${PURPLE}${BOLD}Enter the Directus Website user static token${RESET}" - read website_token + read -s website_token fi + echo $username + su -c "cd /home/${username} &&\ git clone ${repo_url} &&\ cd ${front_folder} &&\