Change in_plist() call to find_plist().

This commit is contained in:
Jordan K. Hubbard 1994-05-25 06:24:41 +00:00
parent b2f6083aad
commit b6532a528a

View File

@ -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 */