Skip to content

Commit

Permalink
fix: do not hard depend on sudo being installed
Browse files Browse the repository at this point in the history
similar to #193
the checkCommandRequirements function under checkEnv hard-depended on
sudo, although doas can be picked as an $ESCALATION_TOOL.
  • Loading branch information
plurpio committed Sep 25, 2024
1 parent cd90bc0 commit 466f875
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions core/tabs/common-script.sh
Original file line number Diff line number Diff line change
Expand Up @@ -125,11 +125,11 @@ checkDistro() {
}

checkEnv() {
checkCommandRequirements 'curl groups sudo'
checkEscalationTool
checkCommandRequirements "curl groups $ESCALATION_TOOL"
checkPackageManager 'nala apt-get dnf pacman zypper'
checkCurrentDirectoryWritable
checkSuperUser
checkDistro
checkEscalationTool
checkAURHelper
}

0 comments on commit 466f875

Please sign in to comment.