summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorPatrick 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)
commit58b6126924303e444df0b36610fe3635f75fc08e (patch)
tree6759d2343cbc2ef55ab4751bd19607ad496cd95a /src
parent255d3c2e14928db5212a845d229298be79211d31 (diff)
main: Uncomment control file reading
Diffstat (limited to 'src')
-rw-r--r--src/main.c10
1 files changed, 5 insertions, 5 deletions
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;