Merge pull request #8525 from SeekingMeaning/cmd/installed_prefix
pull, pr-pull: use `opt_or_installed_prefix_keg`
This commit is contained in:
		
						commit
						a48a8722fc
					
				@ -73,7 +73,7 @@ module Homebrew
 | 
				
			|||||||
    else
 | 
					    else
 | 
				
			||||||
      if gnupg.any_version_installed?
 | 
					      if gnupg.any_version_installed?
 | 
				
			||||||
        path = PATH.new(ENV.fetch("PATH"))
 | 
					        path = PATH.new(ENV.fetch("PATH"))
 | 
				
			||||||
        path.prepend(gnupg.installed_prefix/"bin")
 | 
					        path.prepend(gnupg.opt_or_installed_prefix_keg/"bin")
 | 
				
			||||||
        ENV["PATH"] = path
 | 
					        ENV["PATH"] = path
 | 
				
			||||||
      end
 | 
					      end
 | 
				
			||||||
    end
 | 
					    end
 | 
				
			||||||
 | 
				
			|||||||
@ -60,7 +60,7 @@ module Homebrew
 | 
				
			|||||||
      else
 | 
					      else
 | 
				
			||||||
        if gnupg.any_version_installed?
 | 
					        if gnupg.any_version_installed?
 | 
				
			||||||
          path = PATH.new(ENV.fetch("PATH"))
 | 
					          path = PATH.new(ENV.fetch("PATH"))
 | 
				
			||||||
          path.prepend(gnupg.installed_prefix/"bin")
 | 
					          path.prepend(gnupg.opt_or_installed_prefix_keg/"bin")
 | 
				
			||||||
          ENV["PATH"] = path
 | 
					          ENV["PATH"] = path
 | 
				
			||||||
        end
 | 
					        end
 | 
				
			||||||
      end
 | 
					      end
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user