From 1e11f80bede5d4fb4a74c7cd2f533ee24173d3c2 Mon Sep 17 00:00:00 2001 From: Vinicius Moreira Date: Mon, 22 Nov 2021 13:30:37 -0300 Subject: [PATCH] [arch] fix: wget as a hard requirement for Arch package management --- CHANGELOG.md | 6 ++++++ bauh/gems/arch/controller.py | 5 +---- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 08942300..3f69ada5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,12 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). +## [0.9.22] +### Fixes +- Arch + - **wget** as a hard requirement for Arch package management + + ## [0.9.21] 2021-11-20 ### Fixes - General diff --git a/bauh/gems/arch/controller.py b/bauh/gems/arch/controller.py index 3839b1e8..3a06f38c 100644 --- a/bauh/gems/arch/controller.py +++ b/bauh/gems/arch/controller.py @@ -2643,9 +2643,6 @@ class ArchManager(SoftwareManager): return res - def _is_wget_available(self) -> bool: - return bool(shutil.which('wget')) - def is_enabled(self) -> bool: return self.enabled @@ -2654,7 +2651,7 @@ class ArchManager(SoftwareManager): def can_work(self) -> bool: try: - return self.arch_distro and pacman.is_available() and self._is_wget_available() + return self.arch_distro and pacman.is_available() except FileNotFoundError: return False