xbps-bin: when replacing a pkg do not purge the old one, just remove it.
This commit is contained in:
		@@ -435,11 +435,6 @@ replace_packages(prop_object_iterator_t iter, const char *pkgver)
 | 
			
		||||
			    reppkgn, strerror(rv));
 | 
			
		||||
			return rv;
 | 
			
		||||
		}
 | 
			
		||||
		if ((rv = xbps_purge_pkg(reppkgn, false)) != 0) {
 | 
			
		||||
			fprintf(stderr, "xbps-bin: couldn't purge %s (%s)\n",
 | 
			
		||||
			    reppkgn, strerror(rv));
 | 
			
		||||
			return rv;
 | 
			
		||||
		}
 | 
			
		||||
	}
 | 
			
		||||
	prop_object_iterator_release(iter);
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user