diff options
author | 2009-10-15 23:22:55 +0000 | |
---|---|---|
committer | 2009-10-15 23:22:55 +0000 | |
commit | 27c3e43eb1bcc7e04929a1c4e30554fcaef925b4 (patch) | |
tree | 4946f27542ebb9dc3ff2a39e00bb79554f25010a | |
parent | Makefile.inc also has to be included from here (diff) | |
download | wireguard-openbsd-27c3e43eb1bcc7e04929a1c4e30554fcaef925b4.tar.xz wireguard-openbsd-27c3e43eb1bcc7e04929a1c4e30554fcaef925b4.zip |
missed one, tell tracker this is already installed
-rw-r--r-- | usr.sbin/pkg_add/OpenBSD/Handle.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/pkg_add/OpenBSD/Handle.pm b/usr.sbin/pkg_add/OpenBSD/Handle.pm index ece0cf52bb1..1be9b2bf5df 100644 --- a/usr.sbin/pkg_add/OpenBSD/Handle.pm +++ b/usr.sbin/pkg_add/OpenBSD/Handle.pm @@ -1,5 +1,5 @@ # ex:ts=8 sw=4: -# $OpenBSD: Handle.pm,v 1.3 2009/10/15 11:18:48 espie Exp $ +# $OpenBSD: Handle.pm,v 1.4 2009/10/15 23:22:55 espie Exp $ # # Copyright (c) 2007-2009 Marc Espie <espie@openbsd.org> # @@ -152,7 +152,7 @@ sub get_plist OpenBSD::Add::tweak_package_status($pkgname, $state); print "Not reinstalling $pkgname\n" if $state->{verbose} and !$handle->{tweaked}; - $state->mark_installed($pkgname); + $state->{tracker}->{installed}->{$pkgname} = 1; $location->close_now; $location->wipe_info; $handle->set_error(ALREADY_INSTALLED); |