From 4becae8f711fb59bcd3add4ddb8345e4eb7b8d27 Mon Sep 17 00:00:00 2001 From: Parham Alvani Date: Sat, 26 Oct 2024 17:21:34 +0000 Subject: [PATCH] feat: improve docker installation script --- scripts/docker.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/docker.sh b/scripts/docker.sh index 0d9a0dd77..f803fe1c5 100644 --- a/scripts/docker.sh +++ b/scripts/docker.sh @@ -34,7 +34,7 @@ main_xbps() { sudo usermod -aG docker "$USER" msg 'docker service with runit' - if [ ! -f '/etc/runit/runsvdir/default/docker' ]; then + if [ ! -L '/etc/runit/runsvdir/default/docker' ]; then sudo ln -s /etc/sv/docker /etc/runit/runsvdir/default/ fi }