From c1042166c8b461d42129bd0c0996c9e9c9c7c856 Mon Sep 17 00:00:00 2001 From: Acane Date: Mon, 6 May 2024 21:46:53 +0800 Subject: [PATCH] update build scripts, check node_module --- bootstrap.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) mode change 100644 => 100755 bootstrap.sh diff --git a/bootstrap.sh b/bootstrap.sh old mode 100644 new mode 100755 index bf290d6..897d009 --- a/bootstrap.sh +++ b/bootstrap.sh @@ -226,7 +226,7 @@ function build_website() { copy_website_files return 0; fi - if [ "$CONFIG_INSTALL_DEPS" != "" ]; then + if [ "$CONFIG_INSTALL_DEPS" != "" ] || [ ! -d node_modules ]; then echo "-- Installing NPM deps ..." npm install __assert "install NPM deps failed"