mirror of
				https://github.com/nvm-sh/nvm.git
				synced 2025-10-31 10:15:53 +08:00 
			
		
		
		
	[installing] echo the URL that the tarball is being downloaded from.
This commit is contained in:
		
							
								
								
									
										3
									
								
								nvm.sh
									
									
									
									
									
								
							
							
						
						
									
										3
									
								
								nvm.sh
									
									
									
									
									
								
							| @@ -1011,6 +1011,7 @@ nvm_install_merged_node_binary() { | ||||
|     tmptarball="$tmpdir/node-${t}.tar.gz" | ||||
|     local NVM_INSTALL_ERRORED | ||||
|     command mkdir -p "$tmpdir" && \ | ||||
|       echo "Downloading $url..." && \ | ||||
|       nvm_download -L -C - --progress-bar $url -o "$tmptarball" || \ | ||||
|       NVM_INSTALL_ERRORED=true | ||||
|     if grep '404 Not Found' "$tmptarball" >/dev/null; then | ||||
| @@ -1077,6 +1078,7 @@ nvm_install_iojs_binary() { | ||||
|       tmptarball="$tmpdir/iojs-${t}.tar.gz" | ||||
|       local NVM_INSTALL_ERRORED | ||||
|       command mkdir -p "$tmpdir" && \ | ||||
|         echo "Downloading $url..." && \ | ||||
|         nvm_download -L -C - --progress-bar $url -o "$tmptarball" || \ | ||||
|         NVM_INSTALL_ERRORED=true | ||||
|       if grep '404 Not Found' "$tmptarball" >/dev/null; then | ||||
| @@ -1209,6 +1211,7 @@ nvm_install_node_source() { | ||||
|   if ( | ||||
|     [ -n "$tarball" ] && \ | ||||
|     command mkdir -p "$tmpdir" && \ | ||||
|     echo "Downloading $tarball..." && \ | ||||
|     nvm_download -L --progress-bar $tarball -o "$tmptarball" && \ | ||||
|     nvm_checksum "$tmptarball" $sum && \ | ||||
|     command tar -xzf "$tmptarball" -C "$tmpdir" && \ | ||||
|   | ||||
		Reference in New Issue
	
	Block a user