Radish alpha
H
rad:z3QDZAW2FAfuLvihrhiyDC9fAD8G9
HardenedBSD Package Manager
Radicle
Git
print ? in pkg version when comparing with remote repository and package is absent from remote
Baptiste Daroussin committed 13 years ago
commit c75301b65b3c4dfaaf5212e0222708035e3d6764
parent 4351685
1 file changed +2 -0
modified pkg/version.c
@@ -412,6 +412,8 @@ exec_version(int argc, char **argv)
				if (pkgdb_it_next(it_remote, &pkg_remote, PKG_LOAD_BASIC) == EPKG_OK) {
					pkg_get(pkg_remote, PKG_VERSION, &version_remote);
					print_version(pkg, "remote", version_remote, limchar, opt);
+
				} else {
+
					print_version(pkg, "remote", NULL, limchar, opt);
				}
				pkgdb_it_free(it_remote);
			}