diff options
-rw-r--r-- | usr.sbin/pkg_add/pkg_add | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/pkg_add/pkg_add b/usr.sbin/pkg_add/pkg_add index 50b92f52e30..bef175003ce 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.326 2007/06/26 14:40:25 espie Exp $ +# $OpenBSD: pkg_add,v 1.327 2007/06/26 17:58:23 espie Exp $ # # Copyright (c) 2003-2007 Marc Espie <espie@openbsd.org> # @@ -777,7 +777,7 @@ sub get_plist OpenBSD::Add::tweak_package_status($pkgname, $state); print "Not reinstalling $pkgname\n" if $state->{verbose} and !$handle->{tweaked}; - $state->mark_as_installed($pkgname); + $state->mark_installed($pkgname); $location->close_now; $location->wipe_info; $handle->set_error(ALREADY_INSTALLED); |