Commit 4581325
authored
Add support for opendoas & void-linux to setup_tests script (#145)
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.1 parent c8417ad commit 4581325
1 file changed
+26
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
6 | 21 | | |
7 | | - | |
8 | | - | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
9 | 33 | | |
10 | 34 | | |
11 | 35 | | |
| |||
0 commit comments