From e43d239a5c012742a91fc862a4be8064ca3d5873 Mon Sep 17 00:00:00 2001 From: Alejandro R Mosteo Date: Wed, 30 Dec 2020 01:06:43 +0100 Subject: [PATCH] pacman: Remove unneeded -e flag (#654) This flag filters out packages installed indirectly (as dependencies), causing our detection of such a package to fail. -Q by design already only works on installed packages, so that's all we need. --- src/alire/alire-origins-deployers-system-pacman.adb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/alire/alire-origins-deployers-system-pacman.adb b/src/alire/alire-origins-deployers-system-pacman.adb index 608126e9..b6bb086a 100644 --- a/src/alire/alire-origins-deployers-system-pacman.adb +++ b/src/alire/alire-origins-deployers-system-pacman.adb @@ -43,10 +43,10 @@ package body Alire.Origins.Deployers.System.Pacman is Subprocess.Checked_Spawn_And_Capture ("pacman", Empty_Vector & - "-Qqe" & + "-Qq" & This.Base.Package_Name, Valid_Exit_Codes => (0, 1), -- Returned when not found - Err_To_Out => True); + Err_To_Out => True); begin if not Output.Is_Empty and then -- 2.39.5