Radish alpha
H
rad:z3QDZAW2FAfuLvihrhiyDC9fAD8G9
HardenedBSD Package Manager
Radicle
Git
Fix pkg upgrade -f
Baptiste Daroussin committed 12 years ago
commit e83b36030a4c373285df136145da3326e151a677
parent 7978b52
1 file changed +1 -1
modified libpkg/pkg_jobs.c
@@ -772,7 +772,7 @@ pkg_jobs_process_remote_pkg(struct pkg_jobs *j, struct pkg *p,
	HASH_FIND_STR(j->universe, origin, jit);
	if (jit != NULL) {
		/* We have a more recent package */
-
		if (!pkg_need_upgrade(p, jit->pkg, false)) {
+
		if (!force && !pkg_need_upgrade(p, jit->pkg, false)) {
			/*
			 * We can have package from another repo in the
			 * universe, but if it is older than this one we just