diff --git a/root.bashrc b/root.bashrc index 5a37c71..35f6ca7 100644 --- a/root.bashrc +++ b/root.bashrc @@ -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."