summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarc Espie <espie@cvs.openbsd.org>2015-03-29 09:42:59 +0000
committerMarc Espie <espie@cvs.openbsd.org>2015-03-29 09:42:59 +0000
commit3ff05852f5dbafbb167414959e2e1b24915eeae7 (patch)
tree1cf0bbbc85a59dd8a0eb2ae95d0c7c0a5c7c39f4
parent0eec05b0f45e7a6491fed03668062fb1f2ebedc6 (diff)
make sure specialfiles get checked. Actual bug, got lost when moving to
extractible/tied files. Could have been mentioned earlier, the fix is obvious.
-rw-r--r--usr.sbin/pkg_add/OpenBSD/Add.pm8
1 files changed, 7 insertions, 1 deletions
diff --git a/usr.sbin/pkg_add/OpenBSD/Add.pm b/usr.sbin/pkg_add/OpenBSD/Add.pm
index 6ac2ce678f0..a2ab99d5954 100644
--- a/usr.sbin/pkg_add/OpenBSD/Add.pm
+++ b/usr.sbin/pkg_add/OpenBSD/Add.pm
@@ -1,5 +1,5 @@
# ex:ts=8 sw=4:
-# $OpenBSD: Add.pm,v 1.164 2014/11/30 15:53:26 espie Exp $
+# $OpenBSD: Add.pm,v 1.165 2015/03/29 09:42:58 espie Exp $
#
# Copyright (c) 2003-2014 Marc Espie <espie@openbsd.org>
#
@@ -852,6 +852,12 @@ sub extract
$self->may_verify_digest($state);
}
+sub find_extractible
+{
+ my ($self, $state) = @_;
+ $self->may_verify_digest($state);
+}
+
package OpenBSD::PackingElement::FCONTENTS;
sub copy_info
{