feat: dc=docker compose, sudo=doas, make -j alias
This commit is contained in:
parent
9cad16c286
commit
04aaa9d541
5 changed files with 25 additions and 26 deletions
|
@ -31,8 +31,7 @@ function add_opt() {
|
|||
}
|
||||
|
||||
if ! [ -w '/var/run/docker.sock' ] && [ "$EUID" != 0 ]; then
|
||||
command -v sudo > /dev/null && exec sudo -- "$0" "$@"
|
||||
command -v doas > /dev/null && exec doas -- "$0" "$@"
|
||||
exec sudo -- "$0" "$@"
|
||||
fi
|
||||
|
||||
c=1
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue