changed docker checking line to check for docker command
This commit is contained in:
2
debian/debian-essentials.sh
vendored
2
debian/debian-essentials.sh
vendored
@@ -211,7 +211,7 @@ if [[ -d /etc/docker ]]
|
||||
fi
|
||||
|
||||
# update lazydocker
|
||||
if [[ -f /etc/docker/daemon.json ]]
|
||||
if command -v docker &> /dev/null
|
||||
then
|
||||
curl -s https://raw.githubusercontent.com/jesseduffield/lazydocker/master/scripts/install_update_linux.sh | bash
|
||||
mv /root/.local/bin/lazydocker /usr/local/bin
|
||||
|
||||
Reference in New Issue
Block a user