From 9720ffcf60d93b7c4ea6e498afcaf7c7f97d5ce2 Mon Sep 17 00:00:00 2001 From: guanxiying Date: Thu, 21 Nov 2019 10:06:57 +0800 Subject: [PATCH] * Create index.html to every folder. --- Makefile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Makefile b/Makefile index 2dd791442a..cb782c8d7d 100644 --- a/Makefile +++ b/Makefile @@ -32,6 +32,9 @@ common: mv zentaopms/www/install.php.tmp zentaopms/www/install.php mv zentaopms/www/upgrade.php.tmp zentaopms/www/upgrade.php cp VERSION zentaopms/ + # create index.html of each folder. + for path in `find zentaopms/ -type d`; do touch "$$path/index.html"; done + rm zentaopms/www/index.html # combine js and css files. cp -fr tools zentaopms/tools && cd zentaopms/tools/ && php ./minifyfront.php rm -fr zentaopms/tools