FIX: minor fixed in chmod

This commit is contained in:
Michal Kváček
2016-09-20 23:44:11 +02:00
parent 5ddb31b57b
commit f5e1e24df8
2 changed files with 9 additions and 7 deletions
+5 -5
View File
@@ -123,6 +123,7 @@ chmod 0777 storage -R
chmod 0777 public -R
chmod 0777 modules/*
chmod 0777 public/uploads -R
chmod +x scripts/*
if [ ! -e $DB_INITIALIZED_FILE ]; then
@@ -218,12 +219,11 @@ if [ ! -e $DB_INITIALIZED_FILE ]; then
echo ""
exit 3
fi
fi
# generate random key for ciphering
php artisan key:generate
fi
if [ ! -e $THEME_SET_FILE ]; then
echo " --------------------------"
@@ -249,14 +249,14 @@ if [ ! -e $THEME_SET_FILE ]; then
php artisan template:set $THEME_NAME no-publish
php artisan vendor:publish
# php artisan vendor:publish --tag=module-views --force -n
# php artisan vendor:publish --tag=public-assets --force -n
# setup permissions on published directories
chmod 0777 public -R
chmod 0777 resources/views/visitor -R
chmod 0777 resources/views/modules -R
chmod 0777 modules/*/module.json
echo $THEME_NAME > $THEME_SET_FILE
fi
+2
View File
@@ -52,3 +52,5 @@ chmod 0777 modules/*
chmod 0777 public/uploads -R
chmod 0777 resources/views/visitor -R
chmod 0777 resources/views/modules -R
chmod 0777 modules/*/module.json
chmod +x scripts/*