diff options
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 cc26534467d..6b37c71b638 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.11 2003/11/06 18:42:01 espie Exp $ +# $OpenBSD: pkg_delete,v 1.12 2003/11/09 15:42:48 espie Exp $ # # Copyright (c) 2003 Marc Espie. # @@ -272,7 +272,7 @@ sub delete_package die "Package $pkgname real name does not match"; } - $ENV{'PKG_PREFIX'} = $plist->prefix(); + $ENV{'PKG_PREFIX'} = '/usr/local'; if ($plist->has(REQUIRE)) { $plist->get(REQUIRE)->delete($state); } |