summaryrefslogtreecommitdiff
path: root/usr.sbin/pkg_add/OpenBSD/Add.pm
diff options
context:
space:
mode:
authorMarc Espie <espie@cvs.openbsd.org>2014-07-12 19:50:44 +0000
committerMarc Espie <espie@cvs.openbsd.org>2014-07-12 19:50:44 +0000
commit46bbf8297b3cf65f6f48831f7a6e02bab8a8ead4 (patch)
tree2825481a2cf6f14db467b883dde18948c77a0d49 /usr.sbin/pkg_add/OpenBSD/Add.pm
parent3b8fd81df7d10582dca551feb320d0efe5720259 (diff)
finish killing old experiment, less confusing code
Diffstat (limited to 'usr.sbin/pkg_add/OpenBSD/Add.pm')
-rw-r--r--usr.sbin/pkg_add/OpenBSD/Add.pm7
1 files changed, 1 insertions, 6 deletions
diff --git a/usr.sbin/pkg_add/OpenBSD/Add.pm b/usr.sbin/pkg_add/OpenBSD/Add.pm
index 5bf5fabfd6d..e94596b9224 100644
--- a/usr.sbin/pkg_add/OpenBSD/Add.pm
+++ b/usr.sbin/pkg_add/OpenBSD/Add.pm
@@ -1,5 +1,5 @@
# ex:ts=8 sw=4:
-# $OpenBSD: Add.pm,v 1.160 2014/07/11 12:49:20 espie Exp $
+# $OpenBSD: Add.pm,v 1.161 2014/07/12 19:50:43 espie Exp $
#
# Copyright (c) 2003-2014 Marc Espie <espie@openbsd.org>
#
@@ -482,10 +482,6 @@ sub prepare_to_extract
$file->set_name($fullname);
$file->{destdir} = $destdir;
- # faked installation are VERY weird
- if (defined $self->{symlink} && $state->{do_faked}) {
- $file->{linkname} = $destdir.$file->{linkname};
- }
}
sub tie
@@ -810,7 +806,6 @@ sub install
{
my ($self, $state) = @_;
$self->SUPER::install($state);
- return if $state->{do_faked};
$self->mark_ldconfig_directory($state);
}