summaryrefslogtreecommitdiff
path: root/usr.sbin/pkg_add/pkg_delete
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/pkg_add/pkg_delete')
-rw-r--r--usr.sbin/pkg_add/pkg_delete9
1 files changed, 2 insertions, 7 deletions
diff --git a/usr.sbin/pkg_add/pkg_delete b/usr.sbin/pkg_add/pkg_delete
index 1379c81cb43..f0dfdad6158 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.66 2004/10/31 10:26:17 espie Exp $
+# $OpenBSD: pkg_delete,v 1.67 2004/10/31 11:33:50 espie Exp $
#
# Copyright (c) 2003-2004 Marc Espie <espie@openbsd.org>
#
@@ -30,11 +30,6 @@ use OpenBSD::PackageInfo;
our %forced = ();
-sub ensure_ldconfig
-{
- &OpenBSD::Delete::ensure_ldconfig;
-}
-
our ($opt_v, $opt_D, $opt_d, $opt_n, $opt_f, $opt_q, $opt_p, $opt_c, $opt_L, $opt_B, $opt_I, $opt_x);
$opt_v = 0;
@@ -193,7 +188,7 @@ eval {
my $dielater = $@;
-ensure_ldconfig($state);
+OpenBSD::PackingElement::Lib::ensure_ldconfig($state);
# delayed directory/user/group removal
if (defined $state->{dirs_to_rm} or defined $state->{users_to_rm} or
defined $state->{groups_to_rm}) {