diff --git a/debian/debian-essentials.sh b/debian/debian-essentials.sh index fbb4645..1732279 100755 --- a/debian/debian-essentials.sh +++ b/debian/debian-essentials.sh @@ -177,7 +177,7 @@ echo "alias hh='hstr'" >> /etc/bash.bashrc echo "export HSTR_CONFIG=hide-help,hicolor,prompt-bottom,ignorespace,raw-history-view" >> /etc/bash.bashrc # docker aliases -if [[ -f /etc/apt/keyrings/docker.gpg ]] +if [[ -f /etc/docker/daemon.json ]] then echo "alias dc='docker compose'" >> /etc/bash.bashrc echo "alias dcup='docker compose up -d'" >> /etc/bash.bashrc @@ -195,7 +195,7 @@ if [[ -f /etc/apt/keyrings/docker.gpg ]] fi # update lazydocker -if [[ -f /etc/apt/keyrings/docker.gpg ]] +if [[ -f /etc/docker/daemon.json ]] then curl -s https://raw.githubusercontent.com/jesseduffield/lazydocker/master/scripts/install_update_linux.sh | bash mv /root/.local/bin/lazydocker /usr/local/bin