Radish alpha
H
rad:z3QDZAW2FAfuLvihrhiyDC9fAD8G9
HardenedBSD Package Manager
Radicle
Git
Merge pull request #849 from dag-erling/repopath
Vsevolod Stakhov committed 11 years ago
commit fcc43fd1a2f08ba1775f144af1eda905ba4e1f15
parent 03edffb
2 files changed +2 -1
modified libpkg/pkg_manifest.c
@@ -98,6 +98,7 @@ static struct manifest_key {
	{ "option_descriptions", PKG_OPTION_DESCRIPTIONS, UCL_OBJECT, pkg_obj},
	{ "origin",              PKG_ORIGIN,              UCL_STRING, pkg_string},
	{ "path",                PKG_REPOPATH,            UCL_STRING, pkg_string},
+
	{ "repopath",            PKG_REPOPATH,            UCL_STRING, pkg_string},
	{ "pkgsize",             PKG_PKGSIZE,             UCL_INT,    pkg_int},
	{ "prefix",              PKG_PREFIX,              UCL_STRING, pkg_string},
	{ "provides",            PKG_PROVIDES,            UCL_ARRAY,  pkg_array},
modified libpkg/private/pkg.h
@@ -482,7 +482,7 @@ static struct pkg_key {
	[PKG_TIME] = { "time", UCL_INT },
	[PKG_ANNOTATIONS] = { "annotations", UCL_OBJECT },
	[PKG_LICENSES] = { "licenses", UCL_ARRAY },
-
	[PKG_CATEGORIES] = { "catagories", UCL_ARRAY },
+
	[PKG_CATEGORIES] = { "categories", UCL_ARRAY },
	[PKG_UNIQUEID] = { "uniqueid", UCL_STRING },
	[PKG_OLD_DIGEST] = { "olddigest", UCL_STRING },
};