Define XBPS_PKGINDEX_VERSION constant and use it.
--HG-- extra : convert_revision : e5c982e083d1a03b57feb71799619e7cbbae4239
This commit is contained in:
parent
a6657b74ca
commit
dfeb2f4143
@ -69,7 +69,7 @@ repoidx_getdict(const char *pkgdir)
|
|||||||
prop_dictionary_set_cstring_nocopy(dict,
|
prop_dictionary_set_cstring_nocopy(dict,
|
||||||
"location-local", pkgdir);
|
"location-local", pkgdir);
|
||||||
prop_dictionary_set_cstring_nocopy(dict,
|
prop_dictionary_set_cstring_nocopy(dict,
|
||||||
"pkgindex-version", "1.0");
|
"pkgindex-version", XBPS_PKGINDEX_VERSION);
|
||||||
}
|
}
|
||||||
free(plist);
|
free(plist);
|
||||||
|
|
||||||
|
@ -51,6 +51,9 @@
|
|||||||
#define XBPS_PKGPROPS "props.plist"
|
#define XBPS_PKGPROPS "props.plist"
|
||||||
#define XBPS_PKGFILES "files.plist"
|
#define XBPS_PKGFILES "files.plist"
|
||||||
|
|
||||||
|
/* Current version of the package index format. */
|
||||||
|
#define XBPS_PKGINDEX_VERSION "1.0"
|
||||||
|
|
||||||
/* Verbose messages */
|
/* Verbose messages */
|
||||||
#define XBPS_VERBOSE 0x00000001
|
#define XBPS_VERBOSE 0x00000001
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user