diff options
author | Marc Espie <espie@cvs.openbsd.org> | 2003-10-23 23:11:23 +0000 |
---|---|---|
committer | Marc Espie <espie@cvs.openbsd.org> | 2003-10-23 23:11:23 +0000 |
commit | 4a47c228ba85cb762cf81724ce54d32a5aab950a (patch) | |
tree | 8b3c058e5dba5f15b098e5ad30956b24d0bae89f /usr.sbin | |
parent | 480a55773530e00670e61d9c180bf824ddefba72 (diff) |
Typo. Fix removal for multiple times the same dependency.
Diffstat (limited to 'usr.sbin')
-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 8ecbcbb8ea5..c24403363c9 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.3 2003/10/23 17:48:07 espie Exp $ +# $OpenBSD: pkg_delete,v 1.4 2003/10/23 23:11:22 espie Exp $ # # Copyright (c) 2003 Marc Espie. # @@ -266,7 +266,7 @@ sub delete_package next if defined $removed->{$name}; print "remove dependency in $name\n" if $opt_v or $opt_n; OpenBSD::RequiredBy->new($name)->delete($pkgname) unless $opt_n; - $removed->{name} = 1; + $removed->{$name} = 1; } remove_packing_info($dir) unless $opt_n; } |