aboutsummaryrefslogtreecommitdiff
path: root/src/mbpk-install.c
diff options
context:
space:
mode:
authorArslaan Pathan <[email protected]>2026-09-17 15:21:11 +1200
committerArslaan Pathan <[email protected]>2026-09-17 15:21:11 +1200
commit00c9756268b27f3fcccfe9dbc5334284b423bd28 (patch)
tree1c8b69145648e8402696dd101a891d4037c5e275 /src/mbpk-install.c
parent2f6b9f48320438787bf452d693fde81d2d31bebf (diff)
downloadmbpk-00c9756268b27f3fcccfe9dbc5334284b423bd28.tar.xz
mbpk-00c9756268b27f3fcccfe9dbc5334284b423bd28.zip
clean slate
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;
-}