summaryrefslogtreecommitdiff
path: root/usr.sbin/pkg_add
diff options
context:
space:
mode:
authorOkan Demirmen <okan@cvs.openbsd.org>2013-02-18 19:56:11 +0000
committerOkan Demirmen <okan@cvs.openbsd.org>2013-02-18 19:56:11 +0000
commitd7d33ebda2bfc30b80ce1b5cc49202db09a9e13a (patch)
treefffbfebaccba8e87d15ac77484de3fa75960354e /usr.sbin/pkg_add
parent5bb98e4a37fa582dd096487ee5fb89e1ea509e28 (diff)
revert previous; wrong time.
Diffstat (limited to 'usr.sbin/pkg_add')
-rw-r--r--usr.sbin/pkg_add/OpenBSD/Add.pm4
-rw-r--r--usr.sbin/pkg_add/OpenBSD/PackingElement.pm4
2 files changed, 4 insertions, 4 deletions
diff --git a/usr.sbin/pkg_add/OpenBSD/Add.pm b/usr.sbin/pkg_add/OpenBSD/Add.pm
index dd9595103c5..837dd232f2a 100644
--- a/usr.sbin/pkg_add/OpenBSD/Add.pm
+++ b/usr.sbin/pkg_add/OpenBSD/Add.pm
@@ -1,5 +1,5 @@
# ex:ts=8 sw=4:
-# $OpenBSD: Add.pm,v 1.131 2013/02/18 19:29:03 okan Exp $
+# $OpenBSD: Add.pm,v 1.132 2013/02/18 19:56:10 okan Exp $
#
# Copyright (c) 2003-2007 Marc Espie <espie@openbsd.org>
#
@@ -377,7 +377,7 @@ sub install
$self->SUPER::install($state);
my $fullname = $self->fullname;
my $destdir = $state->{destdir};
- if ($fullname =~ m,^$state->{localbase}/share/doc/pkg-readmes/,) {
+ if ($fullname =~ m,^/usr/local/share/doc/pkg-readmes/,) {
$state->{readmes}++;
}
diff --git a/usr.sbin/pkg_add/OpenBSD/PackingElement.pm b/usr.sbin/pkg_add/OpenBSD/PackingElement.pm
index b551018bf81..60a8469c69b 100644
--- a/usr.sbin/pkg_add/OpenBSD/PackingElement.pm
+++ b/usr.sbin/pkg_add/OpenBSD/PackingElement.pm
@@ -1,5 +1,5 @@
# ex:ts=8 sw=4:
-# $OpenBSD: PackingElement.pm,v 1.209 2013/02/18 19:29:03 okan Exp $
+# $OpenBSD: PackingElement.pm,v 1.210 2013/02/18 19:56:10 okan Exp $
#
# Copyright (c) 2003-2010 Marc Espie <espie@openbsd.org>
#
@@ -177,7 +177,7 @@ sub finish
OpenBSD::PackingElement::Fontdir->finish($state);
OpenBSD::PackingElement::RcScript->report($state);
if ($state->{readmes}) {
- $state->say("Look in #1/share/doc/pkg-readmes for extra documentation.", $state->{localbase});
+ $state->say("Look in /usr/local/share/doc/pkg-readmes for extra documentation.");
}
}