Sfoglia il codice sorgente

Suppress verbose output from `type` command.

Shane Kilkelly 9 anni fa
parent
commit
2ca8dc903b
1 ha cambiato i file con 2 aggiunte e 2 eliminazioni
  1. 2 2
      server-ce/bin/install-services

+ 2 - 2
server-ce/bin/install-services

@@ -7,8 +7,8 @@ grep 'name:' config/services.js | \
 		pushd $service
 		echo "Installing Service $service"
 		echo '  installing Node'
-		type nvm && nvm install
-		type nvm && nvm use
+		type -t nvm && nvm install
+		type -t nvm && nvm use
 		echo '  installing Dependencies'
 		npm install
 		popd