added lazydocker update
This commit is contained in:
7
debian/debian-essentials.sh
vendored
7
debian/debian-essentials.sh
vendored
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user