summaryrefslogtreecommitdiff
path: root/usr.sbin/pkg_add/OpenBSD
diff options
context:
space:
mode:
authorMarc Espie <espie@cvs.openbsd.org>2010-06-05 17:15:33 +0000
committerMarc Espie <espie@cvs.openbsd.org>2010-06-05 17:15:33 +0000
commit57616925fbb1f05b1bd1397f3a3f4249c3f3a534 (patch)
tree7fe8f6b9e544cba344f4155c8fae2110b285d051 /usr.sbin/pkg_add/OpenBSD
parent010776e5bc71d23652ec000b88fb812dd478e18e (diff)
move files after a discussion with Theo.
Diffstat (limited to 'usr.sbin/pkg_add/OpenBSD')
-rw-r--r--usr.sbin/pkg_add/OpenBSD/PkgCheck.pm (renamed from usr.sbin/pkg_add/OpenBSD/PkgFsck.pm)10
1 files changed, 5 insertions, 5 deletions
diff --git a/usr.sbin/pkg_add/OpenBSD/PkgFsck.pm b/usr.sbin/pkg_add/OpenBSD/PkgCheck.pm
index 7a1dd6ce3d5..854aa447a32 100644
--- a/usr.sbin/pkg_add/OpenBSD/PkgFsck.pm
+++ b/usr.sbin/pkg_add/OpenBSD/PkgCheck.pm
@@ -1,7 +1,7 @@
#! /usr/bin/perl
# ex:ts=8 sw=4:
-# $OpenBSD: PkgFsck.pm,v 1.3 2010/06/05 16:21:35 espie Exp $
+# $OpenBSD: PkgCheck.pm,v 1.1 2010/06/05 17:15:32 espie Exp $
#
# Copyright (c) 2003-2010 Marc Espie <espie@openbsd.org>
#
@@ -171,7 +171,7 @@ sub dump
&OpenBSD::Error::delayed_output;
}
-package OpenBSD::PkgFsck::State;
+package OpenBSD::PkgCheck::State;
our @ISA = qw(OpenBSD::AddCreateDelete::State);
sub init
@@ -191,7 +191,7 @@ sub log
}
}
-package OpenBSD::PkgFsck;
+package OpenBSD::PkgCheck;
our @ISA = qw(OpenBSD::AddCreateDelete);
use OpenBSD::PackageInfo;
@@ -401,9 +401,9 @@ sub parse_and_run
{
my $self = shift;
- my $state = OpenBSD::PkgFsck::State->new;
+ my $state = OpenBSD::PkgCheck::State->new;
$self->handle_options('fiq', $state,
- 'pkg_fsck [-fimnqvx] [-B pkg-destdir] [-D value]');
+ 'pkg_check [-fimnqvx] [-B pkg-destdir] [-D value]');
if (@ARGV != 0) {
Usage();
}