consider supporting doas as well (package opendoas in community)
oof, found out about the --sudo config option. problem solved
am i doing something wrong?
$ yay --sudo doas
invalid option 'sudo'
Update yay? Working on git
[parker@wolfcola ~]$ yay --sudo doas
[parker@wolfcola ~]$
I think you need the --save as well to have it save
Optionally set
"sudobin": "sudo",
in the config file
$ yay -V
yay v9.4.2 - libalpm v12.0.1
i have tried setting "sudobin"
yep. works on git, doesn't work on release
just noticed that yay in AUR finally got sudobin support. BTW you can run
yay --sudo doas --save
to permanently add this option to yay config.
So my question is, shouldn't sudo (and doas too) be moved to optdepends section in PKGBUILD? Archwiki explicitly says:
If the software works on multiple alternative dependencies, all of them can be listed here _[optdepends]_, instead of the depends array
Most helpful comment
just noticed that yay in AUR finally got
sudobinsupport. BTW you can runto permanently add this option to yay config.
So my question is, shouldn't sudo (and doas too) be moved to
optdependssection in PKGBUILD? Archwiki explicitly says: