From aa7e2d2fbc0cd729877a3254508814c91af0db39 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicol=C3=A1s=20Ortega=20Froysa?= Date: Thu, 28 Mar 2024 10:42:49 +0100 Subject: [PATCH] Add package manager remove command. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Nicolás Ortega Froysa --- pacundo.pl | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pacundo.pl b/pacundo.pl index 51f9132..8adeb19 100755 --- a/pacundo.pl +++ b/pacundo.pl @@ -149,6 +149,7 @@ sub get_pkgmgr() { my $mgr_cmd_search = "$mgr_bin -Ss"; my $mgr_cmd_install_remote = "$mgr_bin -S"; my $mgr_cmd_install_local = "$mgr_bin -U"; + my $mgr_cmd_remove = "$mgr_bin -R"; my %pkgmgr = ( name => $mgr, @@ -156,6 +157,7 @@ sub get_pkgmgr() { search => $mgr_cmd_search, install_remote => $mgr_cmd_install_remote, install_local => $mgr_cmd_install_local, + remove => $mgr_cmd_remove, ); return \%pkgmgr;