summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorJoe <joe@joelightning.com>2011-12-20 12:22:10 +0000
committerJoe <joe@joelightning.com>2011-12-20 12:22:10 +0000
commit50fd0307b6a4f14b0e24150596523960e3a736bf (patch)
tree10379447a8b64206e869acf70a3ed8651e30e026 /lib
parentebfef31501ba488d5a602628fd021d48c9d5bcc4 (diff)
made it check for w3m dep which it now needs
Diffstat (limited to 'lib')
-rw-r--r--lib/main.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/main.sh b/lib/main.sh
index ec1399c..86ac0f3 100644
--- a/lib/main.sh
+++ b/lib/main.sh
@@ -129,6 +129,13 @@ then
envbot_quit 1
fi
+# Check for w3m because we use it to convert html entities.
+if ! which w3m
+then
+ echo "w3m is a dep, please install."
+ envbot_quit 1
+fi
+
# And finally lets export this as $HOME
export HOME="$tmp_home"