diff options
author | Marc Espie <espie@cvs.openbsd.org> | 2004-10-26 17:37:05 +0000 |
---|---|---|
committer | Marc Espie <espie@cvs.openbsd.org> | 2004-10-26 17:37:05 +0000 |
commit | 1addd214e543803938851b73bf5b9446458032ca (patch) | |
tree | d46dd04cfb786f93d473a618271c5ef532fe0caf /usr.sbin/pkg_add/pkg_delete | |
parent | 531dc8b34f62f65f40574880bb8d2295a2f95008 (diff) |
kill old duplicate code.
Diffstat (limited to 'usr.sbin/pkg_add/pkg_delete')
-rw-r--r-- | usr.sbin/pkg_add/pkg_delete | 15 |
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); |