summaryrefslogtreecommitdiff
path: root/usr.sbin
diff options
context:
space:
mode:
authorMarc Espie <espie@cvs.openbsd.org>2007-05-18 12:44:33 +0000
committerMarc Espie <espie@cvs.openbsd.org>2007-05-18 12:44:33 +0000
commit46e52f3305af8bd3447d2f5c6977ce5e3ba73de8 (patch)
treec2b7ad9259345e85d43f6db0eab9ed91303f1922 /usr.sbin
parent898b8e4bb55d55a12d8a35ed33118fc68094ed3a (diff)
show the url for the package we're dealing with. Unconfuse installed vs.
uninstalled stuff.
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/pkg_add/pkg_info4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/pkg_add/pkg_info b/usr.sbin/pkg_add/pkg_info
index 16614b71e0d..c28a2a1d08b 100644
--- a/usr.sbin/pkg_add/pkg_info
+++ b/usr.sbin/pkg_add/pkg_info
@@ -1,6 +1,6 @@
#! /usr/bin/perl
# ex:ts=8 sw=4:
-# $OpenBSD: pkg_info,v 1.56 2007/05/18 12:28:26 espie Exp $
+# $OpenBSD: pkg_info,v 1.57 2007/05/18 12:44:32 espie Exp $
#
# Copyright (c) 2003-2007 Marc Espie <espie@openbsd.org>
#
@@ -229,7 +229,7 @@ sub print_info
if ($terse) {
print $opt_l, $pkg, "\n" unless $opt_q;
} else {
- print $opt_l, "Information for ", $pkg, "\n\n" unless $opt_q;
+ print $opt_l, "Information for ", $handle->url, "\n\n" unless $opt_q;
}
if ($opt_c) {
print $opt_l, "Comment:\n" unless $opt_q;