From 1442fcb4974515b60bab23f745c977d1e47f5583 Mon Sep 17 00:00:00 2001 From: feelamee <106318766+feelamee@users.noreply.github.com> Date: Sun, 3 Mar 2024 21:44:39 +0000 Subject: [PATCH] Add doas support in script/linux (#8788) Release Notes: - n/a --- script/linux | 2 +- typos.toml | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/script/linux b/script/linux index ea248260ad..a35918ce73 100755 --- a/script/linux +++ b/script/linux @@ -1,7 +1,7 @@ #!/usr/bin/bash -e # if sudo is not installed, define an empty alias -maysudo=$(command -v sudo || true) +maysudo=$(command -v sudo || command -v doas || true) # Ubuntu, Debian, etc. # https://packages.ubuntu.com/ diff --git a/typos.toml b/typos.toml index af70fb77c7..91e95e35e9 100644 --- a/typos.toml +++ b/typos.toml @@ -26,6 +26,7 @@ extend-ignore-re = [ "COLUMN enviroment", # Typo in ClickHouse column name. # crates/collab/src/api/events.rs - "rename = \"sesssion_id\"" + "rename = \"sesssion_id\"", + "doas", ] check-filename = true