Skip to content
This repository has been archived by the owner on Sep 8, 2024. It is now read-only.

Add support for doas #2690

Merged
merged 1 commit into from
Feb 5, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions dev_setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,8 @@ function found_exe() {

if found_exe sudo ; then
SUDO=sudo
elif found_exe doas ; then
SUDO=doas
elif [[ $opt_allowroot != true ]]; then
echo 'This script requires "sudo" to install system packages. Please install it, then re-run this script.'
exit 1
Expand Down