From 0332b48c3e995731ab79cc0c2e9eca8bc4b6d92a Mon Sep 17 00:00:00 2001 From: Phil Date: Thu, 28 Jan 2021 14:59:53 +0000 Subject: [PATCH] Added Sophos AV stop to Update function. If it is running on Kali or Parrot it will error the update. --- .bash_aliases | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.bash_aliases b/.bash_aliases index bf4b5b6..cb2f384 100644 --- a/.bash_aliases +++ b/.bash_aliases @@ -97,8 +97,9 @@ sudo -v fi if [ "$(grep -c "debian" /etc/os-release)" -gt 0 ]; then echo "Updating Apt Packages..." + sudo service sav-protect stop >> /dev/null sudo apt clean && sudo apt update && sudo apt --autoremove full-upgrade -y - + sudo service sav-protect start >> /dev/null elif [ "$(grep -c "arch" /etc/os-release)" -gt 0 ]; then echo "Updating Pacman Packages" sudo pacman -Syu