summaryrefslogtreecommitdiff
path: root/manage
diff options
context:
space:
mode:
Diffstat (limited to 'manage')
-rwxr-xr-xmanage11
1 files changed, 7 insertions, 4 deletions
diff --git a/manage b/manage
index c042d8ebd..7019f429b 100755
--- a/manage
+++ b/manage
@@ -295,15 +295,18 @@ gecko.driver() {
}
node.env() {
- # shellcheck disable=SC2230
- which npm &> /dev/null || die 1 'node.env - npm is not found!'
+ if ! required_commands npm fontforge ttfautohint; then
+ info_msg "to install build tools use::"
+ info_msg " sudo -H ./utils/searx.sh install buildhost"
+ die 1 "install needed build tools first"
+ fi
( set -e
- build_msg INSTALL "theme: oscar"
+ build_msg INSTALL "searx/static/themes/oscar/package.json"
npm --prefix searx/static/themes/oscar install
- build_msg INSTALL "theme: simple"
+ build_msg INSTALL "searx/static/themes/simple/package.json"
npm --prefix searx/static/themes/simple install
)
dump_return $?