summaryrefslogtreecommitdiff
path: root/usr.sbin/pkg_add/OpenBSD/PackageLocation.pm
diff options
context:
space:
mode:
authorMarc Espie <espie@cvs.openbsd.org>2010-05-10 09:17:56 +0000
committerMarc Espie <espie@cvs.openbsd.org>2010-05-10 09:17:56 +0000
commit598410cb33a5dae4a9cc9ace47b13645dd15de75 (patch)
treefb510b8378c93a84533c15a500e8cc37c66a2fff /usr.sbin/pkg_add/OpenBSD/PackageLocation.pm
parent0c6b6c722d524ad6a478fc0d2efc5076a4aca479 (diff)
whitespace fixes
Diffstat (limited to 'usr.sbin/pkg_add/OpenBSD/PackageLocation.pm')
-rw-r--r--usr.sbin/pkg_add/OpenBSD/PackageLocation.pm14
1 files changed, 7 insertions, 7 deletions
diff --git a/usr.sbin/pkg_add/OpenBSD/PackageLocation.pm b/usr.sbin/pkg_add/OpenBSD/PackageLocation.pm
index 00d0a435c4a..e7c9ee798b5 100644
--- a/usr.sbin/pkg_add/OpenBSD/PackageLocation.pm
+++ b/usr.sbin/pkg_add/OpenBSD/PackageLocation.pm
@@ -1,5 +1,5 @@
# ex:ts=8 sw=4:
-# $OpenBSD: PackageLocation.pm,v 1.18 2010/01/12 10:14:37 espie Exp $
+# $OpenBSD: PackageLocation.pm,v 1.19 2010/05/10 09:17:55 espie Exp $
#
# Copyright (c) 2003-2007 Marc Espie <espie@openbsd.org>
#
@@ -80,7 +80,7 @@ sub _opened
}
my $fh = $self->{repository}->open($self);
if (!defined $fh) {
- $self->{repository}->parse_problems($self->{errors})
+ $self->{repository}->parse_problems($self->{errors})
if defined $self->{errors};
undef $self->{errors};
return;
@@ -128,7 +128,7 @@ sub find_fat_contents
my $contents = $e->contents;
require OpenBSD::PackingList;
- my $plist = OpenBSD::PackingList->fromfile(\$contents,
+ my $plist = OpenBSD::PackingList->fromfile(\$contents,
\&OpenBSD::PackingList::FatOnly);
if (defined $self->name) {
next if $plist->pkgname ne $self->name;
@@ -149,7 +149,7 @@ sub contents
if (!$self->_opened) {
return;
}
- $self->{contents} = $self->find_contents ||
+ $self->{contents} = $self->find_contents ||
$self->find_fat_contents;
}
@@ -226,8 +226,8 @@ sub plist
require OpenBSD::PackingList;
if (defined $self->{dir} && -f $self->{dir}.CONTENTS) {
- my $plist =
- OpenBSD::PackingList->fromfile($self->{dir}.CONTENTS,
+ my $plist =
+ OpenBSD::PackingList->fromfile($self->{dir}.CONTENTS,
$code);
$plist->set_infodir($self->{dir});
return $plist;
@@ -307,7 +307,7 @@ sub _next
}
sub unput
-{
+{
my $self = shift;
$self->{_unput} = 1;
}