Skip to content

Commit

Permalink
👷 utils: add aura to pacman wrapper detect
Browse files Browse the repository at this point in the history
  • Loading branch information
vnepogodin committed Aug 4, 2024
1 parent 1008518 commit 54324a2
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/utils.rs
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,9 @@ pub fn run_cmd_terminal(cmd: String, escalate: bool) -> bool {

#[inline]
pub fn get_pacman_wrapper() -> PacmanWrapper {
if Path::new("/sbin/pak").exists() {
if Path::new("/sbin/aura").exists() {
return PacmanWrapper::Aura;
} else if Path::new("/sbin/pak").exists() {
return PacmanWrapper::Pak;
} else if Path::new("/sbin/yay").exists() {
return PacmanWrapper::Yay;
Expand Down

0 comments on commit 54324a2

Please sign in to comment.