From 0dee9f34c69f55b818d84b9a94eadd3be46c27eb Mon Sep 17 00:00:00 2001 From: Vinicius Moreira Date: Thu, 3 Nov 2022 07:43:35 -0300 Subject: [PATCH] [core] improvement: do not set '--no-config' when calling wget to avoid certificate issues --- CHANGELOG.md | 2 ++ bauh/view/core/downloader.py | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 8f24fba0..c1c32697 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -17,6 +17,8 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). - not detecting some package replacements when upgrading due to conflict information having logic operators (e.g: `at-spi2-core: 2.44.1 -> 2.46.0` should replace the installed `at-spi2-atk: 2.38`) - Debian - not properly handling packages with names ending with `:i386` [#298](https://github.com/vinifmor/bauh/issues/298) +- Packaging + - AppImage: download certificate issue [#280](https://github.com/vinifmor/bauh/issues/280) - GUI - management panel not fully maximizing diff --git a/bauh/view/core/downloader.py b/bauh/view/core/downloader.py index 1800191c..c6ef0024 100644 --- a/bauh/view/core/downloader.py +++ b/bauh/view/core/downloader.py @@ -86,7 +86,7 @@ class AdaptableFileDownloader(FileDownloader): return SimpleProcess(cmd=cmd, cwd=cwd, root_password=root_password) def _get_wget_process(self, url: str, output_path: str, cwd: str, root_password: Optional[str]) -> SimpleProcess: - cmd = ['wget', url, '-c', '--retry-connrefused', '-t', '10', '--no-config', '-nc'] + cmd = ['wget', url, '-c', '--retry-connrefused', '-t', '10', '-nc'] if not self.check_ssl: cmd.append('--no-check-certificate')