Set PATH when running yay (fix #192)
Instead of causing an error when the Python in path is not the system Python, we prepend /usr/bin to PATH and then run yay.
This commit is contained in:
@@ -31,10 +31,6 @@ pub enum ErrorKind {
|
||||
#[cfg(target_os = "linux")]
|
||||
UnknownLinuxDistribution,
|
||||
|
||||
#[fail(display = "Detected Python is not the system Python")]
|
||||
#[cfg(target_os = "linux")]
|
||||
NotSystemPython,
|
||||
|
||||
#[fail(display = "Process execution failure")]
|
||||
ProcessExecution,
|
||||
|
||||
|
||||
Reference in New Issue
Block a user