wip: further cleanup

This commit is contained in:
Andrejus
2021-04-16 00:26:07 +01:00
parent 18689abd73
commit e5223a45db
48 changed files with 405 additions and 361 deletions

11
scripts/install.d/30-docker.sh Executable file
View File

@@ -0,0 +1,11 @@
#!/usr/bin/env bash
docker --version
readonly docker_group="docker"
if ! grep -q "$docker_group" /etc/group; then
sudo groupadd "$docker_group"
fi
if ! groups "$USER" | grep -q "\b$docker_group\b"; then
sudo usermod -aG docker "$USER"
fi