Selaa lähdekoodia

Add warning when NVM is not present

Shane Kilkelly 9 vuotta sitten
vanhempi
sitoutus
c63753f9f0
1 muutettua tiedostoa jossa 9 lisäystä ja 0 poistoa
  1. 9 0
      server-ce/bin/install-services

+ 9 - 0
server-ce/bin/install-services

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