fixed docker check
This commit is contained in:
2
debian/debian-essentials.sh
vendored
2
debian/debian-essentials.sh
vendored
@@ -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/docker/daemon.json ]]
|
||||
if [[ -d /etc/docker ]]
|
||||
then
|
||||
echo "alias dc='docker compose'" >> /etc/bash.bashrc
|
||||
echo "alias dcup='docker compose up -d'" >> /etc/bash.bashrc
|
||||
|
||||
Reference in New Issue
Block a user