Fix for Debian release

This commit is contained in:
Mahesh Asolkar 2024-04-07 13:19:33 -07:00
parent 52e892a323
commit d9cca35b59
1 changed files with 1 additions and 1 deletions

View File

@ -46,7 +46,7 @@ function u2d () {
cd
if [ -e /etc/arch-release ]; then
pacman -Syu
elif [ -e /etc/debian_release ]; then
elif [ -e /etc/debian_version ]; then
apt update && apt full-upgrade -y && apt autoremove -y
else
echo "Auto update not supported."