Commit Graph

7 Commits

Author SHA1 Message Date
goshawk22 ad3faa186b Use command -v instead of which to check for root
`command` is built in, unlike `which`, and is more reliable.
https://github.com/mvt-project/mvt/pull/19#issuecomment-885650430
https://stackoverflow.com/questions/592620/how-can-i-check-if-a-program-exists-from-a-bash-script/677212#677212
2021-07-23 15:35:56 +01:00
Adam Lawson 9317586851 Better check for if device has root
"which su" will return the path of the su binary, or it will return nothing. 
The python boolean of a string with something in it (such as the path of the su binary), will be True.
An empty string (where there is no su binary) will be False.
2021-07-20 12:55:10 +01:00
Nex 425d83e0a0 Fixed documentation links v1.0.11 2021-07-20 13:42:13 +02:00
tek add5b1640e Update doc url 2021-07-18 19:10:12 +02:00
tek ce9ee09c2d Improves documentation 2021-07-18 16:33:34 +02:00
tek da72dfe58e Update readme and version for pypi 2021-07-18 16:31:25 +02:00
Nex 065a62cee1 First commit 2021-07-16 08:05:01 +02:00