aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Dold <florian.dold@gmail.com>2016-03-18 15:11:16 +0100
committerFlorian Dold <florian.dold@gmail.com>2016-03-18 15:11:16 +0100
commitffe4eb7091345c878d4209b2d1bb35ad1ba1ff9b (patch)
tree63c69e9a9f4a02173f9b786eab32d70137935ab9
parent291833f35cc401d6c4e8334eca2e173dc8351e33 (diff)
test for npm in configure script
-rwxr-xr-xconfigure6
1 files changed, 6 insertions, 0 deletions
diff --git a/configure b/configure
new file mode 100755
index 000000000..c57463ef0
--- /dev/null
+++ b/configure
@@ -0,0 +1,6 @@
+#!/bin/bash
+
+if ! npm --version >/dev/null; then
+ echo 'Node Package Manager (npm) missing'
+ exit 1
+fi