You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Looking for nvme dependency that is installed to /usr/sbin using which does not work since PATH does not include that directory for regular users on at least Debian. Instead, just try running the command, and then report an error if it fails with a hint that the dependency is maybe missing (or, do like the shell script did and just have users escalate privileges themselves).
The text was updated successfully, but these errors were encountered:
Having directly escalated privileges instead of using those only for the required commands is a bad practice.
But just running the command could be a option. The which approach was used as it was primarily developed for Linux Mint / Ubuntu where this works fine.
not-a-feature
changed the title
Dependency check is broken
Dependency check fails if depencency is installed to /usr/sbin
May 27, 2024
Looking for
nvme
dependency that is installed to/usr/sbin
usingwhich
does not work sincePATH
does not include that directory for regular users on at least Debian. Instead, just try running the command, and then report an error if it fails with a hint that the dependency is maybe missing (or, do like the shell script did and just have users escalate privileges themselves).The text was updated successfully, but these errors were encountered: