u
This commit is contained in:
		
							parent
							
								
									5ffca1ef17
								
							
						
					
					
						commit
						6eaa066a19
					
				| @ -1 +0,0 @@ | |||||||
| curl --silent --location https://rpm.nodesource.com/setup_16.x | bash |  | ||||||
| @ -21,8 +21,8 @@ sudo apt update | |||||||
| if [ $nodeVersion != "tools" ] | if [ $nodeVersion != "tools" ] | ||||||
| then | then | ||||||
|   echo "######## Installing nodejs v$nodeVersion ########" |   echo "######## Installing nodejs v$nodeVersion ########" | ||||||
|   echo From https://deb.nodesource.com/setup_$nodeVersion.x |  | ||||||
|   curl -sL https://deb.nodesource.com/setup_$nodeVersion.x | sudo bash - && sudo apt install nodejs -y |   curl -sL https://deb.nodesource.com/setup_$nodeVersion.x | sudo bash - && sudo apt install nodejs -y | ||||||
|  |   # for centos: curl --silent --location https://rpm.nodesource.com/setup_$nodeVersion.x | sudo bash | ||||||
|   echo "######## nodejs v$nodeVersion installed completely! ########" |   echo "######## nodejs v$nodeVersion installed completely! ########" | ||||||
| fi | fi | ||||||
| 
 | 
 | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user