diff options
author | Patrick McDermott <patrick.mcdermott@libiquity.com> | 2023-04-15 21:26:11 (EDT) |
---|---|---|
committer | Patrick McDermott <patrick.mcdermott@libiquity.com> | 2023-04-15 22:06:10 (EDT) |
commit | 58b6126924303e444df0b36610fe3635f75fc08e (patch) | |
tree | 6759d2343cbc2ef55ab4751bd19607ad496cd95a /src | |
parent | 255d3c2e14928db5212a845d229298be79211d31 (diff) |
main: Uncomment control file reading
Diffstat (limited to 'src')
-rw-r--r-- | src/main.c | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -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; |