FIX: minor fixed in chmod
This commit is contained in:
+6
-6
@@ -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,13 +219,12 @@ if [ ! -e $DB_INITIALIZED_FILE ]; then
|
||||
echo ""
|
||||
exit 3
|
||||
fi
|
||||
|
||||
# generate random key for ciphering
|
||||
php artisan key:generate
|
||||
fi
|
||||
|
||||
|
||||
|
||||
# generate random key for ciphering
|
||||
php artisan key:generate
|
||||
|
||||
if [ ! -e $THEME_SET_FILE ]; then
|
||||
echo " --------------------------"
|
||||
echo " * Template setup * "
|
||||
@@ -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
|
||||
|
||||
|
||||
@@ -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/*
|
||||
|
||||
Reference in New Issue
Block a user