Add TODO for autodetecting AUR helper.

Signed-off-by: Nicolás Ortega Froysa <nicolas@ortegas.org>
This commit is contained in:
Nicolás A. Ortega Froysa 2024-03-28 11:32:38 +01:00
parent a458f2dc67
commit ec535f860c

View File

@ -140,6 +140,7 @@ $n, $tx->{action}, $tx->{pkg_name}
# NOTE: Currently this subroutine only works for pacman and yay. You'll have to
# add options for additional AUR helpers.
sub get_pkgmgr() {
# TODO: autodetect AUR helper
my $mgr = $ENV{DEFAULT_PKGMGR} // 'pacman';
my $mgr_bin = `which $mgr 2>&1`;