Add package manager remove command.
Signed-off-by: Nicolás Ortega Froysa <nicolas@ortegas.org>
This commit is contained in:
parent
f55124759e
commit
aa7e2d2fbc
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user