Fix for Debian release

This commit is contained in:
Mahesh Asolkar 2024-04-07 13:19:33 -07:00
parent 52e892a323
commit d9cca35b59

View File

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