Radish alpha
H
HardenedBSD Package Manager
Radicle
Git (anonymous pull)
Log in to clone via SSH
Don't print date of package installation if query goes to remote repo.
Andrej Zverev committed 11 years ago
commit 262fa5d797f1b9bc4267e440211522569941ee59
parent 5455a4573454d3ac22b69fe02cb48fb807749a5d
1 file changed +7 -3
modified src/utils.c
@@ -374,9 +374,13 @@ print_info(struct pkg * const pkg, uint64_t options)
			pkg_printf("%n\n", pkg);
			break;
		case INFO_INSTALLED:
-
			if (print_tag)
-
				printf("%-15s: ", "Installed on");
-
			pkg_printf("%t%{%+%}\n", pkg);
+
			if (pkg_type(pkg) != PKG_REMOTE) {
+
				if (print_tag) {
+
					printf("%-15s: ", "Installed on");
+
					pkg_printf("%t%{%+%}\n", pkg);
+
				}
+
			} else if (!print_tag)
+
				printf("\n");
			break;
		case INFO_VERSION:
			if (print_tag)