blob: 5ff555ab6286917827d3d9d10614cf3023a33d44 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
#include <stdio.h>
#include "libmbpk.h"
int main(void) {
int res;
printf("[mbpk_install] please note that mbpk_install is currently used as a test, and does not do what is said in the README. the proper wrapper binaries will be created once libmbpk is finished.\n");
printf("[mbpk_install] calling mbpk_init()\n");
res = mbpk_init();
if (res != MBPK_OK) {
fprintf(stderr, "mbpk init failed: %d\n", res);
return 1;
}
printf("[mbpk_install] calling mbpk_update_repositories()\n");
res = mbpk_update_repositories();
if (res != MBPK_OK) {
fprintf(stderr, "mbpk repo failed: %d\n", res);
}
return 0;
}
|