summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarc Espie <espie@cvs.openbsd.org>2018-05-26 18:12:44 +0000
committerMarc Espie <espie@cvs.openbsd.org>2018-05-26 18:12:44 +0000
commit0b1b68ed4049a375093586ac3b31aedac6276c6d (patch)
treed1b3d0e7a04a3df6da767f2d729e732c206dd4cb
parent5e627e7211d58cbc5592abf3554e42c345f36600 (diff)
- old implem of @rcscript predates absolute_okay.
I don't think the implicit cwd is needed anymore. and a full bulk agrees with me. (this will simplify update-plist's logic as @rcscript is no longer special) - mandoc special subclass never got any use, as Ingo got mandoc to be so good the distinction does not make any sense, gc it.
-rw-r--r--usr.sbin/pkg_add/OpenBSD/PackingElement.pm11
1 files changed, 1 insertions, 10 deletions
diff --git a/usr.sbin/pkg_add/OpenBSD/PackingElement.pm b/usr.sbin/pkg_add/OpenBSD/PackingElement.pm
index 4fe2cfbc5f1..6d552d8e7bf 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.250 2018/02/06 15:17:26 espie Exp $
+# $OpenBSD: PackingElement.pm,v 1.251 2018/05/26 18:12:43 espie Exp $
#
# Copyright (c) 2003-2014 Marc Espie <espie@openbsd.org>
#
@@ -553,9 +553,6 @@ sub destate
{
my ($self, $state) = @_;
$self->compute_fullname($state);
- if ($self->name =~ m/^\//) {
- $state->set_cwd(dirname($self->name));
- }
$state->{lastfile} = $self;
$state->{lastchecksummable} = $self;
$self->compute_modes($state);
@@ -667,12 +664,6 @@ sub format
return 1;
}
-package OpenBSD::PackingElement::Mandoc;
-our @ISA=qw(OpenBSD::PackingElement::Manpage);
-
-sub keyword() { "mandoc" }
-__PACKAGE__->register_with_factory;
-
package OpenBSD::PackingElement::Lib;
our @ISA=qw(OpenBSD::PackingElement::FileBase);