diff options
author | Marc Espie <espie@cvs.openbsd.org> | 2005-01-22 13:00:36 +0000 |
---|---|---|
committer | Marc Espie <espie@cvs.openbsd.org> | 2005-01-22 13:00:36 +0000 |
commit | 436b6f1d3ce3d3fb93b58aa7626f54e74b04e94c (patch) | |
tree | 11899e220137cfbe15bf65fa1f44d3b95968b4d8 /usr.sbin/pkg_add/pkg_delete | |
parent | 99333f185672cbb2045222882e8549e2e797a7ab (diff) |
do not clean-up shared items in pretend mode (for now, need extra logic
to pretend cleaning it up).
Diffstat (limited to 'usr.sbin/pkg_add/pkg_delete')
-rw-r--r-- | usr.sbin/pkg_add/pkg_delete | 4 |
1 files changed, 2 insertions, 2 deletions
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); |