From 58b6126924303e444df0b36610fe3635f75fc08e Mon Sep 17 00:00:00 2001 From: Patrick McDermott Date: Sat, 15 Apr 2023 21:26:11 -0400 Subject: main: Uncomment control file reading --- (limited to 'src') diff --git a/src/main.c b/src/main.c index f993b3b..f713645 100644 --- a/src/main.c +++ b/src/main.c @@ -161,11 +161,11 @@ _opkg_opk_main_list_members(struct opkg_opk_ustar *ustar) int main(int argc, char *argv[]) { -// if (_opkg_opk_main_extract(argv[1], "control.tar.gz", -// &_opkg_opk_main_read_control) != OPKG_OPK_OK) { -// return EXIT_FAILURE; -// } -// puts(""); + if (_opkg_opk_main_extract(argv[1], "control.tar.gz", + &_opkg_opk_main_read_control) != OPKG_OPK_OK) { + return EXIT_FAILURE; + } + puts(""); if (_opkg_opk_main_extract(argv[1], "data.tar.gz", &_opkg_opk_main_list_members) != OPKG_OPK_OK) { return EXIT_FAILURE; -- cgit v0.9.1