aboutsummaryrefslogtreecommitdiff
path: root/src/mbpk-install.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mbpk-install.c')
-rw-r--r--src/mbpk-install.c20
1 files changed, 0 insertions, 20 deletions
diff --git a/src/mbpk-install.c b/src/mbpk-install.c
deleted file mode 100644
index 9588373..0000000
--- a/src/mbpk-install.c
+++ /dev/null
@@ -1,20 +0,0 @@
-#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: %s\n", mbpk_strerr(res));
- return 1;
- }
- printf("[mbpk_install] calling mbpk_update_repositories()\n");
- res = mbpk_update_repositories();
- if (res != MBPK_OK) {
- fprintf(stderr, "mbpk repo failed: %s\n", mbpk_strerr(res));
- }
- mbpk_cleanup();
- return 0;
-}