summaryrefslogtreecommitdiff
path: root/usr.sbin/pkg_add/OpenBSD/Add.pm
diff options
context:
space:
mode:
authorMarc Espie <espie@cvs.openbsd.org>2008-03-08 12:07:46 +0000
committerMarc Espie <espie@cvs.openbsd.org>2008-03-08 12:07:46 +0000
commitecc61d6322a93065aa3f802872ad5143a2f76706 (patch)
treee96b165e59998aa17ad02876dcaa23f5d0628abc /usr.sbin/pkg_add/OpenBSD/Add.pm
parentc3024e8f3379a5e1412f0f9158857dee595417a2 (diff)
rename forced to defines
Diffstat (limited to 'usr.sbin/pkg_add/OpenBSD/Add.pm')
-rw-r--r--usr.sbin/pkg_add/OpenBSD/Add.pm8
1 files changed, 4 insertions, 4 deletions
diff --git a/usr.sbin/pkg_add/OpenBSD/Add.pm b/usr.sbin/pkg_add/OpenBSD/Add.pm
index b600fdd9eea..8fd72fa0ac3 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.81 2007/06/25 09:30:16 espie Exp $
+# $OpenBSD: Add.pm,v 1.82 2008/03/08 12:07:45 espie Exp $
#
# Copyright (c) 2003-2007 Marc Espie <espie@openbsd.org>
#
@@ -369,7 +369,7 @@ sub prepare_for_addition
if ($s->{ro}) {
$s->report_ro($state, $fname);
}
- if ($state->{forced}->{kitchensink} && $state->{not}) {
+ if ($state->{defines}->{kitchensink} && $state->{not}) {
return;
}
if ($s->avail < 0) {
@@ -489,7 +489,7 @@ sub prepare_for_addition
if ($s->{ro}) {
$s->report_ro($state, $fname);
}
- if ($state->{forced}->{kitchensink} && $state->{not}) {
+ if ($state->{defines}->{kitchensink} && $state->{not}) {
return;
}
if ($s->avail < 0) {
@@ -680,7 +680,7 @@ sub prepare_for_addition
if ($s->{noexec} && $self->exec_on_delete) {
$s->report_noexec($state, $fname);
}
- if ($state->{forced}->{kitchensink} && $state->{not}) {
+ if ($state->{defines}->{kitchensink} && $state->{not}) {
return;
}
if ($s->avail < 0) {