diff --git a/modules/Blog/ArticleList/Providers/ArticleListServiceProvider.php b/modules/Blog/ArticleList/Providers/ArticleListServiceProvider.php index c6b38d7c..439e4afb 100644 --- a/modules/Blog/ArticleList/Providers/ArticleListServiceProvider.php +++ b/modules/Blog/ArticleList/Providers/ArticleListServiceProvider.php @@ -52,9 +52,6 @@ class ArticleListServiceProvider extends ServiceProvider { $viewPath = base_path('resources/views/modules/articlelist'); $sourcePath = __DIR__ . '/../Resources/views'; - if (!is_dir($sourcePath)) { - return; - } $this->publishes([$sourcePath => $viewPath]); diff --git a/modules/Blog/ArticleList/Resources/views/admin/.gitkeep b/modules/Blog/ArticleList/Resources/views/admin/.gitkeep new file mode 100644 index 00000000..e69de29b diff --git a/scripts/update.sh b/scripts/update.sh index bc08944c..213eb466 100644 --- a/scripts/update.sh +++ b/scripts/update.sh @@ -49,9 +49,9 @@ php artisan vendor:publish # this part need running as root sudo chmod 0777 bootstrap/cache -R sudo chmod 0777 storage -R -sudo chmod 0777 modules/* sudo chmod 0777 public/uploads -R sudo chmod 0777 resources/views/visitor -R sudo chmod 0777 resources/views/modules -R sudo chmod 0777 modules/*/module.json +sudo chmod 0777 modules/*/*/module.json sudo chmod +x scripts/*