summaryrefslogtreecommitdiffstats
path: root/usr.sbin/pkg_install/create/perform.c
diff options
context:
space:
mode:
authorjkh <jkh@FreeBSD.org>1997-11-13 11:49:23 +0000
committerjkh <jkh@FreeBSD.org>1997-11-13 11:49:23 +0000
commite3252cb624c644e173e8e4e7ae946c1403e8ccec (patch)
tree8e9bd6ad0f45e77a41c3d6678b67c7d27a1cdf2d /usr.sbin/pkg_install/create/perform.c
parentbee54c50bb9c0b906bd922d632653e34b0b103e8 (diff)
downloadFreeBSD-src-e3252cb624c644e173e8e4e7ae946c1403e8ccec.zip
FreeBSD-src-e3252cb624c644e173e8e4e7ae946c1403e8ccec.tar.gz
The prefix override code was bogus. The original idea was sound
enough, but we're not using the pkg_create tool that way anymore in the ports collection. PR: 4894 Submitted by: Adrian Colley <aecolley@ois.ie>
Diffstat (limited to 'usr.sbin/pkg_install/create/perform.c')
-rw-r--r--usr.sbin/pkg_install/create/perform.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/usr.sbin/pkg_install/create/perform.c b/usr.sbin/pkg_install/create/perform.c
index 830a2b2..59745a4 100644
--- a/usr.sbin/pkg_install/create/perform.c
+++ b/usr.sbin/pkg_install/create/perform.c
@@ -1,6 +1,6 @@
#ifndef lint
static const char rcsid[] =
- "$Id: perform.c,v 1.37 1997/10/08 07:46:27 charnier Exp $";
+ "$Id: perform.c,v 1.38 1997/10/13 15:03:51 jkh Exp $";
#endif
/*
@@ -96,11 +96,6 @@ pkg_perform(char **pkgs)
/* Slurp in the packing list */
read_plist(&plist, pkg_in);
- /* Prefix should override the packing list */
- if (Prefix) {
- delete_plist(&plist, FALSE, PLIST_CWD, NULL);
- add_plist_top(&plist, PLIST_CWD, Prefix);
- }
/*
* Run down the list and see if we've named it, if not stick in a name
* at the top.
OpenPOWER on IntegriCloud