aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin/pkg_install
diff options
context:
space:
mode:
authorJordan K. Hubbard <jkh@FreeBSD.org>1994-05-25 06:24:41 +0000
committerJordan K. Hubbard <jkh@FreeBSD.org>1994-05-25 06:24:41 +0000
commitb6532a528adb3dd9d7062af3a3ef6020d88192c2 (patch)
tree6350e5d0a485522b8e72ba9ae15a64e001c122f6 /usr.sbin/pkg_install
parentb2f6083aad5c20da380d5598811596d8210b6165 (diff)
Notes
Diffstat (limited to 'usr.sbin/pkg_install')
-rw-r--r--usr.sbin/pkg_install/create/perform.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/pkg_install/create/perform.c b/usr.sbin/pkg_install/create/perform.c
index 7eb9ff38ed39..1763cf273664 100644
--- a/usr.sbin/pkg_install/create/perform.c
+++ b/usr.sbin/pkg_install/create/perform.c
@@ -1,5 +1,5 @@
#ifndef lint
-static const char *rcsid = "$Id: perform.c,v 1.7 1993/09/18 03:39:20 jkh Exp $";
+static const char *rcsid = "$Id: perform.c,v 1.8 1994/05/19 18:27:41 alm Exp $";
#endif
/*
@@ -72,7 +72,7 @@ pkg_perform(char **pkgs)
* Run down the list and see if we've named it, if not stick in a name
* at the top.
*/
- if (!in_plist(&plist, PLIST_NAME))
+ if (find_plist(&plist, PLIST_NAME) == NULL)
add_plist_top(&plist, PLIST_NAME, pkg);
/* Make a directory to stomp around in */