Add doas support in script/linux (#8788)

Release Notes:
- n/a
This commit is contained in:
feelamee
2024-03-03 13:44:39 -08:00
committed by GitHub
parent 49f378ead3
commit 1442fcb497
2 changed files with 3 additions and 2 deletions
+1 -1
View File
@@ -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/
+2 -1
View File
@@ -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