From be9ed58aa69976356db81eb81cf84f3408263732 Mon Sep 17 00:00:00 2001 From: meaz Date: Sun, 5 Jan 2020 18:39:33 +0100 Subject: [PATCH] small improvment on vagrant file --- vagrant/bootstrap.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/vagrant/bootstrap.sh b/vagrant/bootstrap.sh index e162a323d..83852835f 100755 --- a/vagrant/bootstrap.sh +++ b/vagrant/bootstrap.sh @@ -78,10 +78,10 @@ sudo -u "${WWW_USER}" -i 's/false/true/g' "${WEB_ROOT}""${WEB_NAME}"/user/plugin sudo sed -i "s/127.0.0.1\tlocalhost/127.0.0.1\tlocalhost ${WEB_NAME}/" /etc/hosts #Add website pages in GRAV -sudo mount -o bind /var/www/pages "${WEB_ROOT}""${WEB_NAME}"/user/pages +sudo mount -o bind "${WEB_ROOT}"/pages "${WEB_ROOT}""${WEB_NAME}"/user/pages chown "${WWW_USER}":"${WWW_USER}" -R "${WEB_ROOT}""${WEB_NAME}"/user/pages #Add Disroot theme in GRAV -sudo -u www-data ln -s /var/www/themes/grav-theme-howto "${WEB_ROOT}""${WEB_NAME}"/user/themes/grav-theme-howto +sudo -u "${WWW_USER}" ln -s "${WEB_ROOT}"/themes/grav-theme-howto "${WEB_ROOT}""${WEB_NAME}"/user/themes/grav-theme-howto exit 0