summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xmanage4
1 files changed, 4 insertions, 0 deletions
diff --git a/manage b/manage
index 7019f429b..167895158 100755
--- a/manage
+++ b/manage
@@ -313,6 +313,10 @@ node.env() {
}
node.clean() {
+ if ! required_commands npm 2>/dev/null; then
+ build_msg CLEAN "npm is not installed / ignore npm dependencies"
+ return 0
+ fi
build_msg CLEAN "locally installed npm dependencies"
( set -e
npm --prefix searx/static/themes/oscar run clean