#! /usr/bin/perl
# ex:ts=8 sw=4:
-# $OpenBSD: PkgAdd.pm,v 1.148 2023/11/25 17:43:39 espie Exp $
+# $OpenBSD: PkgAdd.pm,v 1.149 2023/12/03 16:38:28 espie Exp $
#
# Copyright (c) 2003-2014 Marc Espie <espie@openbsd.org>
#
}
}
$set->check_security($state, $plist, $o);
- if ($set->{quirks} || $plist->has('updatedb')) {
+ if ($plist->has('updatedb')) {
# The installed package has inst: for a location, we want
# the newer one (which is identical)
$n->location->{repository}->setup_cache($state->{setlist});
add_installed($pkgname);
delete $handle->{partial};
OpenBSD::PkgCfl::register($handle, $state);
- if ($set->{quirks} || $plist->has('updatedb')) {
+ if ($plist->has('updatedb')) {
$handle->location->{repository}->setup_cache($state->{setlist});
}
}