From 713cf4e6bf8d5d56193dc4619967c17c9e359fa6 Mon Sep 17 00:00:00 2001 From: ngn Date: Fri, 9 Aug 2024 03:33:48 +0300 Subject: [PATCH] fix: archive download bar --- locale/tr/LC_MESSAGES/matt.po | 2 +- src/cmd/install.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/locale/tr/LC_MESSAGES/matt.po b/locale/tr/LC_MESSAGES/matt.po index b823a25..529294c 100644 --- a/locale/tr/LC_MESSAGES/matt.po +++ b/locale/tr/LC_MESSAGES/matt.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2024-08-08 16:37+0300\n" +"POT-Creation-Date: 2024-08-09 03:00+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/src/cmd/install.c b/src/cmd/install.c index da41195..b4b4e74 100644 --- a/src/cmd/install.c +++ b/src/cmd/install.c @@ -17,7 +17,7 @@ bool cmd_install_callback(lm_ctx_t *ctx, lm_pkg_t *pkg, char *file, size_t curre } bool cmd_download_callback(lm_ctx_t *ctx, lm_pkg_t *pkg, bool is_archive, size_t current, size_t total, void *data){ - if(!is_archive) + if(is_archive) bar(current, total); return true; }