Re-add support for system virtualpkg.d (XBPS_SYS_VPKG_PATH).

This is still useful to set distro defaults for virtual packages, with
the option to override them via /etc/xbps/virtualpkg.d.
This commit is contained in:
Juan RP committed 2014-11-05 09:40:32 +01:00
1 parent 595136704e
commit 9566a0e737
3 files changed
+10 -5

No files matched your search

+1 -1
View File
@@ -448,7 +448,7 @@ xbps_init(struct xbps_handle *xhp)
free(buf);
}
/* process virtualpkg.d dirs */
if ((rv = parse_dir(xhp, cwd, NULL, XBPS_VPKG_PATH, true)) != 0)
if ((rv = parse_dir(xhp, cwd, XBPS_SYS_VPKG_PATH, XBPS_VPKG_PATH, true)) != 0)
return rv;
/* process repo.d dirs */