Add warning when NVM is not present

This commit is contained in:
Shane Kilkelly 2017-09-05 15:26:40 +01:00
parent 2ca8dc903b
commit c63753f9f0

View file

@ -1,5 +1,14 @@
#! env bash #! env bash
[ -z "`type -t nvm`" ] && cat <<EOF
==========================================================
== NVM not installed, you should consider installing it ==
==========================================================
EOF
grep 'name:' config/services.js | \ grep 'name:' config/services.js | \
sed 's/.*name: "\(.*\)",/\1/' | \ sed 's/.*name: "\(.*\)",/\1/' | \
while read service while read service