mirror of
				https://github.com/gaschz/dotfiles.git
				synced 2025-11-04 05:28:56 +01:00 
			
		
		
		
	fix: hide command check output
This commit is contained in:
		
							parent
							
								
									d3222aab71
								
							
						
					
					
						commit
						4d63820f64
					
				@ -13,7 +13,7 @@ else
 | 
			
		||||
  : "${DIFF_HIGHLIGHT_EXEC:=/usr/share/git-core/contrib/diff-highlight}"
 | 
			
		||||
 | 
			
		||||
  ## Debian.
 | 
			
		||||
  if command -v perl &&
 | 
			
		||||
  if command -v perl >/dev/null &&
 | 
			
		||||
    test -f "${DIFF_HIGHLIGHT_SOURCE}/DiffHighlight.pm" &&
 | 
			
		||||
    test -f "${DIFF_HIGHLIGHT_SOURCE}/diff-highlight.perl"
 | 
			
		||||
  then
 | 
			
		||||
@ -21,7 +21,7 @@ else
 | 
			
		||||
      "${DIFF_HIGHLIGHT_SOURCE}/diff-highlight.perl" | less -RS
 | 
			
		||||
 | 
			
		||||
  ## Fedora.
 | 
			
		||||
  elif command -v perl && test -f "${DIFF_HIGHLIGHT_EXEC}"
 | 
			
		||||
  elif command -v perl >/dev/null && test -f "${DIFF_HIGHLIGHT_EXEC}"
 | 
			
		||||
  then
 | 
			
		||||
    exec "${DIFF_HIGHLIGHT_EXEC}" | less -RS
 | 
			
		||||
  fi
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user