removed wrestic install / upgrade
This commit is contained in:
14
debian/debian-essentials.sh
vendored
14
debian/debian-essentials.sh
vendored
@@ -159,7 +159,6 @@ echo "alias sreboot='sudo reboot'" >> /etc/bash.bashrc
|
||||
echo "alias spoweroff='sudo poweroff'" >> /etc/bash.bashrc
|
||||
echo "alias tmuxls='tmux ls'" >> /etc/bash.bashrc
|
||||
echo "alias tmuxa='tmux attach -t'" >> /etc/bash.bashrc
|
||||
echo "alias wrestic='sudo wrestic'" >> /etc/bash.bashrc
|
||||
echo "alias hh='hstr'" >> /etc/bash.bashrc
|
||||
echo "export HSTR_CONFIG=hide-help,hicolor,prompt-bottom,ignorespace,raw-history-view" >> /etc/bash.bashrc
|
||||
|
||||
@@ -180,13 +179,6 @@ if [[ -f /etc/apt/keyrings/docker.gpg ]]
|
||||
echo "alias lzd='lazydocker'" >> /etc/bash.bashrc
|
||||
fi
|
||||
|
||||
# update wrestic
|
||||
if [[ -f /usr/local/bin/wrestic ]]
|
||||
then
|
||||
curl -sL $(curl -s https://api.github.com/repos/alvaro17f/wrestic/releases/latest | grep browser_download_url | cut -d '"' -f 4) | sudo tar zxf - -C /usr/local/bin --overwrite
|
||||
sudo chown akanealw:akanealw /usr/local/bin/wrestic
|
||||
fi
|
||||
|
||||
# create tmux config
|
||||
rm /etc/tmux.conf* > /dev/null 2>&1
|
||||
echo "unbind C-b" >> /etc/tmux.conf
|
||||
@@ -240,12 +232,6 @@ if [ $isInFile -eq 0 ]
|
||||
echo "Unattended upgrades already configured."
|
||||
fi
|
||||
|
||||
# update wrestic
|
||||
if [[ -f /usr/local/bin/wrestic ]]
|
||||
then
|
||||
curl -sL $(curl -s https://api.github.com/repos/alvaro17f/wrestic/releases/latest | grep browser_download_url | cut -d '"' -f 4) | sudo tar zxf - -C /usr/local/bin --overwrite
|
||||
fi
|
||||
|
||||
# sshd config
|
||||
cp /etc/ssh/sshd_config /etc/ssh/sshd_config.bak > /dev/null 2>&1
|
||||
isInFile=$(cat /etc/hostname | grep -c "proxmox")
|
||||
|
||||
Reference in New Issue
Block a user