summaryrefslogtreecommitdiffstats
path: root/usr.sbin/pkg_install/create
diff options
context:
space:
mode:
authorsobomax <sobomax@FreeBSD.org>2002-05-14 21:42:37 +0000
committersobomax <sobomax@FreeBSD.org>2002-05-14 21:42:37 +0000
commitbac8396cc90f34d617b583831e7a5902146b56b9 (patch)
treed8b1633a3ddd015d49630a6bac619312b1306625 /usr.sbin/pkg_install/create
parenteb68e3aae2dbda29ad3463cd0ad85dcb6ce4158a (diff)
downloadFreeBSD-src-bac8396cc90f34d617b583831e7a5902146b56b9.zip
FreeBSD-src-bac8396cc90f34d617b583831e7a5902146b56b9.tar.gz
- Make use of DEPOROGINs (if there are any) when installing package;
- fix few bogosities here and there; - move some common routines into the library. MFC after: 2 weeks
Diffstat (limited to 'usr.sbin/pkg_install/create')
-rw-r--r--usr.sbin/pkg_install/create/pl.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/usr.sbin/pkg_install/create/pl.c b/usr.sbin/pkg_install/create/pl.c
index 9970249..d8b3d7e 100644
--- a/usr.sbin/pkg_install/create/pl.c
+++ b/usr.sbin/pkg_install/create/pl.c
@@ -41,12 +41,15 @@ check_list(const char *home, Package *pkg)
case PLIST_CWD:
where = p->name;
break;
+
case PLIST_IGNORE:
p = p->next;
break;
+
case PLIST_SRC:
there = p->name;
break;
+
case PLIST_FILE:
cp = NULL;
sprintf(name, "%s/%s", there ? there : where, p->name);
OpenPOWER on IntegriCloud