Radish alpha
H
rad:z3QDZAW2FAfuLvihrhiyDC9fAD8G9
HardenedBSD Package Manager
Radicle
Git
Merge branch 'patch2' of https://github.com/andrejzverev/pkg into andrejzverev-patch2
Matthew Seaman committed 11 years ago
commit 59bde090b74540f7161c6e1fa4dd0f1cbe7c236f
parent 2573d8b
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)