Compare commits

...

2 Commits

Author SHA1 Message Date
Colin Kubon
e78b8d5ecd
Merge 09c7d23d48445c7737378d532b63b2c48d65c8eb into c51a769aecd3e7dff38662d97c72572bf1a5fd74 2025-09-29 19:44:08 +02:00
SpaghettiBorgar
09c7d23d48 scripts: make sure /etc/docker exists 2025-09-28 19:43:42 +02:00

View File

@ -155,6 +155,7 @@ docker_daemon_edit(){
fi fi
if [[ $ans =~ ^[Yy]$ ]]; then if [[ $ans =~ ^[Yy]$ ]]; then
mkdir -p "$(dirname "$DOCKER_DAEMON_CONFIG")"
if [[ -n "$DOCKER_MAJOR" && "$DOCKER_MAJOR" -lt 27 ]]; then if [[ -n "$DOCKER_MAJOR" && "$DOCKER_MAJOR" -lt 27 ]]; then
cat > "$DOCKER_DAEMON_CONFIG" <<EOF cat > "$DOCKER_DAEMON_CONFIG" <<EOF
{ {