removing stdout about creating services
removing the output of information about creating services for podman-docker
This commit is contained in:
parent
c34c7f21b0
commit
a9bf2dfcb9
1 changed files with 1 additions and 1 deletions
|
|
@ -17,7 +17,7 @@ if ! command -v docker > /dev/null 2>&1; then sudo $pm $check_pkgs;\
|
|||
if [ -n "$(sudo $pm $wh_pkg $docker_pkg 2>/dev/null | grep moby-engine)" ]; then echo "Docker is not supported"; echo "command not found"; exit 1;\
|
||||
else sudo $pm $silent_inst $docker_pkg || docker 2>&1 > /dev/null || exit 1;\
|
||||
fi;\
|
||||
if [ -n "$(sudo docker --version 2>/dev/null | grep podman)" ]; then check_srv="podman.socket podman"; sudo touch /etc/containers/nodocker; fi;\
|
||||
if [ -n "$(sudo docker --version 2>/dev/null | grep podman)" ]; then check_srv="podman.socket podman > /dev/null"; sudo touch /etc/containers/nodocker; fi;\
|
||||
sleep 5; sudo systemctl enable --now $check_srv; sleep 5;\
|
||||
fi;\
|
||||
if [ -n "$(sudo docker --version 2>&1 | grep moby-engine)" ]; then echo "Docker is not supported"; echo "command not found"; exit 1;\
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue