summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorespie <espie@openbsd.org>2004-10-26 17:37:04 +0000
committerespie <espie@openbsd.org>2004-10-26 17:37:04 +0000
commit1f99ceab941c62f835d221d4110acdafb4789cad (patch)
treeb262f287b5b582b4bb50ad5d69084e5e4985e9d7
parentmore accurate name: DirRmOnly -> SharedItemsOnly (diff)
downloadwireguard-openbsd-1f99ceab941c62f835d221d4110acdafb4789cad.tar.xz
wireguard-openbsd-1f99ceab941c62f835d221d4110acdafb4789cad.zip
kill old duplicate code.
-rw-r--r--usr.sbin/pkg_add/pkg_delete15
1 files changed, 1 insertions, 14 deletions
diff --git a/usr.sbin/pkg_add/pkg_delete b/usr.sbin/pkg_add/pkg_delete
index 00fa30321ce..38ef69fcc7e 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.63 2004/10/26 17:23:15 espie Exp $
+# $OpenBSD: pkg_delete,v 1.64 2004/10/26 17:37:04 espie Exp $
#
# Copyright (c) 2003-2004 Marc Espie <espie@openbsd.org>
#
@@ -336,19 +336,6 @@ sub delete
$self->run($state, "DEINSTALL");
}
-package OpenBSD::PackingElement::FUNDISPLAY;
-use OpenBSD::Error;
-use OpenBSD::PackageInfo;
-
-sub delete
-{
- my ($self, $state) = @_;
- my $dir = $state->{dir};
-
- my $pager = $ENV{'PAGER'} || "/usr/bin/more";
- System("$pager $dir".UNDISPLAY);
-}
-
package main;
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);