File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change 11#! /bin/bash
22
3+ set -e
4+
35# ####################################
46# Update the Magento Installation
57# Arguments:
@@ -58,7 +60,6 @@ function runForever() {
5860
5961# Fix the www-folder permissions
6062chgrp -R 33 /var/www/html
61- chmod g+w /var/www/html/web/var /var/www/html/web/app/etc /var/www/html/web/media
6263
6364# Check if the MAGENTO_ROOT direcotry has been specified
6465if [ -z " $MAGENTO_ROOT " ]
@@ -103,11 +104,13 @@ substitute-env-vars.sh /etc /etc/fpc.xml.tmpl
103104echo " Overriding Magento Configuration"
104105cp -v /etc/local.xml /var/www/html/web/app/etc/local.xml
105106cp -v /etc/fpc.xml /var/www/html/web/app/etc/fpc.xml
107+ chgrp -R 33 $MAGENTO_ROOT /app/etc
106108
107109echo " Installing Sample Data: Media"
108110curl -s -L https://raw.githubusercontent.com/Vinai/compressed-magento-sample-data/1.9.1.0/compressed-no-mp3-magento-sample-data-1.9.1.0.tgz | tar xz -C /tmp
109111cp -av /tmp/magento-sample-data-* /* $MAGENTO_ROOT
110112rm -rf /tmp/magento-sample-data-*
113+ chgrp -R 33 $MAGENTO_ROOT
111114
112115echo " Installing Sample Data: Database"
113116magerun --skip-root-check --root-dir=" $MAGENTO_ROOT " db:create
You can’t perform that action at this time.
0 commit comments