added lazydocker update

This commit is contained in:
2024-07-05 17:25:49 -05:00
parent d8b084f082
commit e8ac915bc5

View File

@@ -185,6 +185,13 @@ if [[ -f /etc/apt/keyrings/docker.gpg ]]
echo "alias lzd='lazydocker'" >> /etc/bash.bashrc echo "alias lzd='lazydocker'" >> /etc/bash.bashrc
fi fi
# update lazydocker
if [[ -f /etc/apt/keyrings/docker.gpg ]]
then
curl -s https://raw.githubusercontent.com/jesseduffield/lazydocker/master/scripts/install_update_linux.sh | bash
mv /root/.local/bin/lazydocker /usr/local/bin
fi
# create copy of file before editing # create copy of file before editing
if [[ ! -f /usr/local/bin/cpb ]]; then if [[ ! -f /usr/local/bin/cpb ]]; then
cat <<'EOF' >> /usr/local/bin/cpb cat <<'EOF' >> /usr/local/bin/cpb