diff --git a/dev_setup.sh b/dev_setup.sh index 3bd4bb53ef..8b3ec3739d 100755 --- a/dev_setup.sh +++ b/dev_setup.sh @@ -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