Radish alpha
H
HardenedBSD Package Manager
Radicle
Git (anonymous pull)
Log in to clone via SSH
If version is less than newversion, then it's and upgrade. Et. Seq.
Matthew Seaman committed 13 years ago
commit dee29e21bab78567a19f54d87b4b96d666042749
parent 296e5fea82f6c1d3dd79978dbb93e8dfa33ea3c7
1 file changed +2 -2
modified pkg/utils.c
@@ -560,13 +560,13 @@ print_jobs_summary(struct pkg_jobs *jobs, pkg_jobs_t type, const char *msg, ...)
				 * cannot have been locked yet. */
				if (newversion != NULL) {
					switch(pkg_version_cmp(version, newversion)) {
-
					case 1:
+
					case -1:
						printf("and may not be upgraded to version %s\n", newversion);
						break;
					case 0:
						printf("and may not be reinstalled\n");
						break;
-
					case -1:
+
					case 1:
						printf("and may not be downgraded to version %s\n", newversion);
						break;
					}