+ use libicu in regexTools

This commit is contained in:
kelson42 2011-10-31 09:55:34 +00:00
parent e95baea90f
commit d37d56fe38

View File

@ -100,10 +100,26 @@ int main(int argc, char **argv) {
/* Make the action */
if (action == ADDCONTENT) {
/* Check if the content path exists and is readable */
if (!fileExists(contentPath)) {
cerr << "The content path '" << contentPath << "' does not exist or is not readable." << endl;
exit(1);
}
/* Check if this is a ZIM file */
/* Check if kiwixPath/kiwix/kiwix.exe exists */
/* Check if the directory "data" structure exists */
/* Copy the file to the data/content directory */
/* Check if the library.xml exists */
/* Add the file to the library.xml */
/* Index the file if necessary */
}
exit(0);