summaryrefslogtreecommitdiff
path: root/usr.sbin/pkg_add
diff options
context:
space:
mode:
authorMarc Espie <espie@cvs.openbsd.org>2004-08-10 12:05:53 +0000
committerMarc Espie <espie@cvs.openbsd.org>2004-08-10 12:05:53 +0000
commit1ecaf5a96439470637fd4fabe43f06974873c076 (patch)
tree8ac294c37a416aeca66c7eb7a1715d6c2a15b101 /usr.sbin/pkg_add
parent23eb54c9e9a3cdb77080e794df20fd407973015c (diff)
typo
Diffstat (limited to 'usr.sbin/pkg_add')
-rw-r--r--usr.sbin/pkg_add/pkg_add4
-rw-r--r--usr.sbin/pkg_add/pkg_delete4
2 files changed, 4 insertions, 4 deletions
diff --git a/usr.sbin/pkg_add/pkg_add b/usr.sbin/pkg_add/pkg_add
index 590a0dcd070..ad433fbcfd5 100644
--- a/usr.sbin/pkg_add/pkg_add
+++ b/usr.sbin/pkg_add/pkg_add
@@ -1,7 +1,7 @@
#! /usr/bin/perl
# ex:ts=8 sw=4:
-# $OpenBSD: pkg_add,v 1.48 2004/08/10 11:53:27 espie Exp $
+# $OpenBSD: pkg_add,v 1.49 2004/08/10 12:04:53 espie Exp $
#
# Copyright (c) 2003-2004 Marc Espie <espie@openbsd.org>
#
@@ -137,7 +137,7 @@ package OpenBSD::PackingElement::Mandir;
sub install
{
my ($self, $archive, $destdir, $verbose, $not) = @_;
- $self->SUPER::install->($archive, $destdir, $verbose, $not);
+ $self->SUPER::install($archive, $destdir, $verbose, $not);
print "You may wish to add ", $self->fullname(), " to /etc/man.conf\n";
}
diff --git a/usr.sbin/pkg_add/pkg_delete b/usr.sbin/pkg_add/pkg_delete
index 2df41528e9f..10039e56491 100644
--- a/usr.sbin/pkg_add/pkg_delete
+++ b/usr.sbin/pkg_add/pkg_delete
@@ -1,6 +1,6 @@
#!/usr/bin/perl
# ex:ts=8 sw=4:
-# $OpenBSD: pkg_delete,v 1.39 2004/08/10 11:53:27 espie Exp $
+# $OpenBSD: pkg_delete,v 1.40 2004/08/10 12:05:52 espie Exp $
#
# Copyright (c) 2003-2004 Marc Espie <espie@openbsd.org>
#
@@ -298,7 +298,7 @@ package OpenBSD::PackingElement::Mandir;
sub cleanup
{
my ($self, $state) = @_;
- my $fullname = $state->{destdir}.self->fullname();
+ my $fullname = $state->{destdir}.$self->fullname();
print "You may wish to remove ", $fullname, " from man.conf\n";
unlink("$fullname/whatis.db");
}