summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--usr.sbin/pkg_add/pkg_add4
-rw-r--r--usr.sbin/pkg_add/pkg_delete4
2 files changed, 4 insertions, 4 deletions
diff --git a/usr.sbin/pkg_add/pkg_add b/usr.sbin/pkg_add/pkg_add
index 462e3ef59d8..71922d9f636 100644
--- a/usr.sbin/pkg_add/pkg_add
+++ b/usr.sbin/pkg_add/pkg_add
@@ -1,7 +1,7 @@
#! /usr/bin/perl
# ex:ts=8 sw=4:
-# $OpenBSD: pkg_add,v 1.167 2005/01/14 02:25:12 espie Exp $
+# $OpenBSD: pkg_add,v 1.168 2005/01/22 13:00:35 espie Exp $
#
# Copyright (c) 2003-2004 Marc Espie <espie@openbsd.org>
#
@@ -811,7 +811,7 @@ if (defined $state->{dirs_to_rm} or defined $state->{users_to_rm} or
defined $state->{groups_to_rm}) {
require OpenBSD::SharedItems;
- OpenBSD::SharedItems::cleanup($state);
+ OpenBSD::SharedItems::cleanup($state) unless $state->{not};
}
if ($state->{beverbose}) {
diff --git a/usr.sbin/pkg_add/pkg_delete b/usr.sbin/pkg_add/pkg_delete
index 977b16b1378..54cc17fcf42 100644
--- a/usr.sbin/pkg_add/pkg_delete
+++ b/usr.sbin/pkg_add/pkg_delete
@@ -1,6 +1,6 @@
#!/usr/bin/perl
# ex:ts=8 sw=4:
-# $OpenBSD: pkg_delete,v 1.86 2005/01/14 02:25:12 espie Exp $
+# $OpenBSD: pkg_delete,v 1.87 2005/01/22 13:00:35 espie Exp $
#
# Copyright (c) 2003-2004 Marc Espie <espie@openbsd.org>
#
@@ -225,7 +225,7 @@ if (defined $state->{dirs_to_rm} or defined $state->{users_to_rm} or
defined $state->{groups_to_rm}) {
require OpenBSD::SharedItems;
- OpenBSD::SharedItems::cleanup($state);
+ OpenBSD::SharedItems::cleanup($state) unless $state->{not};
}
OpenBSD::PackingElement::Fontdir::finish_fontdirs($state);