feat: dc=docker compose, sudo=doas, make -j alias

This commit is contained in:
AngeD 2023-01-31 23:51:32 +01:00
parent 9cad16c286
commit 04aaa9d541
5 changed files with 25 additions and 26 deletions

View file

@ -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