xbps-bin: when replacing a pkg do not purge the old one, just remove it.

This commit is contained in:
Juan RP 2010-05-12 07:47:40 +02:00
parent 401d197c06
commit 1fbc19959f

View File

@ -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);