summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarc Espie <espie@cvs.openbsd.org>2004-11-09 10:49:26 +0000
committerMarc Espie <espie@cvs.openbsd.org>2004-11-09 10:49:26 +0000
commit6c4dc8e9d77543438458c5e305cdd2a48cfc6b36 (patch)
tree6ba8afb46d620233e88b0cdec9708eab2832fd67
parent395424c864cf0384e45c884f66358ee4b254ef48 (diff)
kill dup code
-rw-r--r--usr.sbin/pkg_add/OpenBSD/Delete.pm12
1 files changed, 1 insertions, 11 deletions
diff --git a/usr.sbin/pkg_add/OpenBSD/Delete.pm b/usr.sbin/pkg_add/OpenBSD/Delete.pm
index 7d1ddcfd577..7198db02900 100644
--- a/usr.sbin/pkg_add/OpenBSD/Delete.pm
+++ b/usr.sbin/pkg_add/OpenBSD/Delete.pm
@@ -1,5 +1,5 @@
# ex:ts=8 sw=4:
-# $OpenBSD: Delete.pm,v 1.4 2004/11/06 12:22:33 espie Exp $
+# $OpenBSD: Delete.pm,v 1.5 2004/11/09 10:49:25 espie Exp $
#
# Copyright (c) 2003-2004 Marc Espie <espie@openbsd.org>
#
@@ -22,16 +22,6 @@ use OpenBSD::Error;
use OpenBSD::Vstat;
use OpenBSD::PackageInfo;
-sub ensure_ldconfig
-{
- my $state = shift;
- return if $state->{not};
- return unless defined $OpenBSD::PackingElement::Lib::todo;
- VSystem($state->{very_verbose},
- @OpenBSD::PackingElement::Lib::ldconfig, "-R");
- undef $OpenBSD::PackingElement::Lib::todo;
-}
-
sub manpages_unindex
{
my ($state) = @_;