summaryrefslogtreecommitdiff
path: root/usr.sbin/pkg_add
diff options
context:
space:
mode:
authorMarc Espie <espie@cvs.openbsd.org>2021-06-28 14:17:02 +0000
committerMarc Espie <espie@cvs.openbsd.org>2021-06-28 14:17:02 +0000
commit939f796d1153ad6254baff3bdd7fdf3946edba5e (patch)
treefa06b2cb4b3fc3fa7403826feac168d586384844 /usr.sbin/pkg_add
parent2ecc22bc61a54042e40add2aa1a03d7d19d9cced (diff)
placeholder for later
Diffstat (limited to 'usr.sbin/pkg_add')
-rw-r--r--usr.sbin/pkg_add/OpenBSD/PkgAdd.pm5
1 files changed, 4 insertions, 1 deletions
diff --git a/usr.sbin/pkg_add/OpenBSD/PkgAdd.pm b/usr.sbin/pkg_add/OpenBSD/PkgAdd.pm
index 938ba77148b..18dccc8cf09 100644
--- a/usr.sbin/pkg_add/OpenBSD/PkgAdd.pm
+++ b/usr.sbin/pkg_add/OpenBSD/PkgAdd.pm
@@ -1,7 +1,7 @@
#! /usr/bin/perl
# ex:ts=8 sw=4:
-# $OpenBSD: PkgAdd.pm,v 1.119 2021/06/28 11:25:14 espie Exp $
+# $OpenBSD: PkgAdd.pm,v 1.120 2021/06/28 14:17:01 espie Exp $
#
# Copyright (c) 2003-2014 Marc Espie <espie@openbsd.org>
#
@@ -765,6 +765,9 @@ sub really_add
$replacing = 1;
}
$state->{replacing} = $replacing;
+ # XXX placeholder for optimization
+ $state->{simple_update} = 0;
+ #$state->{simple_update} = $set->{simple_update};
my $handler = sub {
$state->{received} = shift;