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 ea248260adb70b513bcd158e069ecbba0b9b4f1c..a35918ce7325f1c3e310a792d66fd7412f1cb5db 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 af70fb77c74a4829ba82fb08e6d920e837934500..91e95e35e9bf29e6f66947661d1f6529ebd45c72 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