mirror of
				https://github.com/nvm-sh/nvm.git
				synced 2025-10-31 18:25:52 +08:00 
			
		
		
		
	Add -f
This commit is contained in:
		
							
								
								
									
										2
									
								
								nvm.sh
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								nvm.sh
									
									
									
									
									
								
							| @@ -262,7 +262,7 @@ nvm() { | |||||||
|               curl -L -C - --progress-bar $url -o "$tmptarball" && \ |               curl -L -C - --progress-bar $url -o "$tmptarball" && \ | ||||||
|               nvm_checksum `${shasum} "$tmptarball" | awk '{print $1}'` $sum && \ |               nvm_checksum `${shasum} "$tmptarball" | awk '{print $1}'` $sum && \ | ||||||
|               tar -xzf "$tmptarball" -C "$tmpdir" --strip-components 1 && \ |               tar -xzf "$tmptarball" -C "$tmpdir" --strip-components 1 && \ | ||||||
|               rm "$tmptarball" && \ |               rm -f "$tmptarball" && \ | ||||||
|               mv "$tmpdir" "$NVM_DIR/$VERSION" |               mv "$tmpdir" "$NVM_DIR/$VERSION" | ||||||
|               ) |               ) | ||||||
|             then |             then | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user