mirror of
				https://github.com/nvm-sh/nvm.git
				synced 2025-10-31 18:25:52 +08:00 
			
		
		
		
	changed npm url to use https (script has moved)
This commit is contained in:
		
							
								
								
									
										4
									
								
								nvm.sh
									
									
									
									
									
								
							
							
						
						
									
										4
									
								
								nvm.sh
									
									
									
									
									
								
							| @@ -156,10 +156,10 @@ nvm() | ||||
|             if [[ "`expr match $VERSION '\(^v0\.2\.[0-2]$\)'`" != '' ]]; then | ||||
|               echo "npm requires node v0.2.3 or higher" | ||||
|             else | ||||
|               curl http://npmjs.org/install.sh | clean=yes npm_install=0.2.19 sh | ||||
|               curl https://npmjs.org/install.sh | clean=yes npm_install=0.2.19 sh | ||||
|             fi | ||||
|           else | ||||
|             curl http://npmjs.org/install.sh | clean=yes sh | ||||
|             curl https://npmjs.org/install.sh | clean=yes sh | ||||
|           fi | ||||
|         fi | ||||
|       else | ||||
|   | ||||
		Reference in New Issue
	
	Block a user