summaryrefslogtreecommitdiff
path: root/usr.sbin/pkg_add/OpenBSD/Delete.pm
diff options
context:
space:
mode:
authorMarc Espie <espie@cvs.openbsd.org>2008-03-08 11:48:02 +0000
committerMarc Espie <espie@cvs.openbsd.org>2008-03-08 11:48:02 +0000
commit9a664b1bab7e8a1315c8c320f4bd2128933c7f22 (patch)
tree9e0479c917f298bc205cdd61bc29339d232eaaa5 /usr.sbin/pkg_add/OpenBSD/Delete.pm
parentbe80e263ef76a0d346d1e751cede81f67c3aafc7 (diff)
better -q: mention once, and it speeds up (assumes normal files haven't
changed), but still checks config files. Use twice, and wipe your config out as well.
Diffstat (limited to 'usr.sbin/pkg_add/OpenBSD/Delete.pm')
-rw-r--r--usr.sbin/pkg_add/OpenBSD/Delete.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/pkg_add/OpenBSD/Delete.pm b/usr.sbin/pkg_add/OpenBSD/Delete.pm
index 65394299e29..44ccb36ea8e 100644
--- a/usr.sbin/pkg_add/OpenBSD/Delete.pm
+++ b/usr.sbin/pkg_add/OpenBSD/Delete.pm
@@ -1,5 +1,5 @@
# ex:ts=8 sw=4:
-# $OpenBSD: Delete.pm,v 1.73 2008/03/08 11:41:42 espie Exp $
+# $OpenBSD: Delete.pm,v 1.74 2008/03/08 11:48:01 espie Exp $
#
# Copyright (c) 2003-2007 Marc Espie <espie@openbsd.org>
#
@@ -509,7 +509,7 @@ sub delete
return;
}
- if ($state->{quick}) {
+ if ($state->{quick} >= 2) {
unless ($state->{extra}) {
$self->mark_dir($state);
$state->print("You should also $action $realname\n");