use installed property to check package existence
This commit is contained in:
		
				
					committed by
					
						
						Todd Gamblin
					
				
			
			
				
	
			
			
			
						parent
						
							2aa859e0cf
						
					
				
				
					commit
					655ab60beb
				
			@@ -764,7 +764,7 @@ def install(self, spec, prefix):
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
    def do_uninstall(self):
 | 
			
		||||
        if not os.path.exists(self.prefix):
 | 
			
		||||
        if not self.installed:
 | 
			
		||||
            tty.die(self.name + " is not installed.")
 | 
			
		||||
 | 
			
		||||
        if not self.ignore_dependencies:
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user