-void test_binary_compatibility(void) {
- char cmd[1024];
- int ret;
- fprintf(stderr, "ctdlvisor: testing compatibility...\n");
- sprintf(cmd, "%s/usr/local/citadel/citserver -c", getenv("APPDIR"));
- ret = system(cmd);
- if (ret) {
- fprintf(stderr, "ctdlvisor: this appimage cannot run on your system.\n"
- " The reason may be indicated by any error messages appearing above.\n");
- }
- else {
- fprintf(stderr, "ctdlvisor: this appimage appears to be compatible with your system.\n");
- }
- exit(ret);
-}
-
-