Radish alpha
H
rad:z3QDZAW2FAfuLvihrhiyDC9fAD8G9
HardenedBSD Package Manager
Radicle
Git
Fix keyword schema
Baptiste Daroussin committed 12 years ago
commit eaf1b4a24bc87429c3c0b9e436a94fab1138a6de
parent b63dfc6
1 file changed +2 -3
modified libpkg/pkg_ports.c
@@ -143,9 +143,8 @@ keyword_open_schema(void)
		"      properties { "
		"        owner = { type = string }; "
		"        group = { type = string }; "
-
		"        mode = { type = string };  "
-
		"        mode = { type = integer };  "
-
	        "      }"
+
		"        mode = { oneOf: [ { type = integer }, { type = string } ] };
+
		"      }"
		"    }; "
		"    pre-install = { type = string }; "
		"    post-install = { type = string }; "