corrections 1

This commit is contained in:
Valentin 2024-05-03 22:06:27 +02:00
parent 2ee7ed4cec
commit 40400f928d
3 changed files with 6 additions and 5 deletions

View File

@ -16,7 +16,8 @@ if [[ -z "$CMS_DIRECTORY" ]]; then
fi
echo "set -g default-shell /bin/sh" >> /etc/tmux.conf
su -s /bin/bash -c "mkdir ${CMS_DIRECTORY}" www-data
mkdir "$CMS_DIRECTORY"
chown www-data:www-data "$CMS_DIRECTORY"
echo -e "${PURPLE}${BOLD}Import the Directus database ? (y/N) ${RESET}"
read answer

View File

@ -4,7 +4,7 @@
. bin/functions.sh
touch /var/www/.bashrc
mkdir /var/www/.nvm
mkdir -p /var/www/.nvm
mkdir /var/www/.npm
chown -R www-data:www-data /var/www

View File

@ -15,6 +15,6 @@ echo -e "${PURPLE}${BOLD}Press any key when done${RESET}"
read
REPO_DIRECTORY="/var/www/repositories"
mkdir $repo_directory
chown www-data:www-data $repo_directory
CMS_DIRECTORY="${repo_directory}/cms_${DOMAIN_NAME}"
mkdir $REPO_DIRECTORY
chown www-data:www-data $REPO_DIRECTORY
CMS_DIRECTORY="${REPO_DIRECTORY}/cms_${DOMAIN_NAME}"