summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarc Espie <espie@cvs.openbsd.org>2004-10-05 20:22:11 +0000
committerMarc Espie <espie@cvs.openbsd.org>2004-10-05 20:22:11 +0000
commitf04a48141cf52dba05c445b8e054dd0de8e6f2ca (patch)
tree0a61611d504356b74748d29d59832e8866ba6861
parent3d485c4a7ab69a8802f5dd9720cb7d8be16035b8 (diff)
explicitly call the right destate for Extradir
-rw-r--r--usr.sbin/pkg_add/OpenBSD/PackingElement.pm7
1 files changed, 6 insertions, 1 deletions
diff --git a/usr.sbin/pkg_add/OpenBSD/PackingElement.pm b/usr.sbin/pkg_add/OpenBSD/PackingElement.pm
index 83c63cfc5ae..53221005a75 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.44 2004/10/05 20:20:59 espie Exp $
+# $OpenBSD: PackingElement.pm,v 1.45 2004/10/05 20:22:10 espie Exp $
#
# Copyright (c) 2003-2004 Marc Espie <espie@openbsd.org>
#
@@ -1039,6 +1039,11 @@ sub dirclass() { "OpenBSD::PackingElement::Extradir" }
package OpenBSD::PackingElement::Extradir;
our @ISA=qw(OpenBSD::PackingElement::DirBase OpenBSD::PackingElement::Extra);
+sub destate
+{
+ &OpenBSD::PackingElement::Extra::destate;
+}
+
package OpenBSD::PackingElement::SpecialFile;
our @ISA=qw(OpenBSD::PackingElement::Unique);