kerrickstaley / genanki

A Python 3 library for generating Anki decks
MIT License
2.06k stars 161 forks source link

Add support for opendoas & void-linux to setup_tests script #145

Closed ernieIzde8ski closed 4 days ago

ernieIzde8ski commented 1 month ago

Some systems (like mine) do not have sudo installed, but use the opendoas package to perform the same function.

The Void Linux package manager (xbps) was fairly easy to implement support for, though I restructured that part of code to do it.

I can think of one issue, but it was already present in the script in the first place: it's perfectly possible to have package managers from other distributions on your system, for managing chroot-like things. Maybe better OS detection or something more OS-independent would be better in the longterm.

kerrickstaley commented 4 days ago

Thanks for the PR!

ohanessian commented 1 day ago

Thanks