Show NAME and VERSION instead of PRETTY_NAME

This commit is contained in:
Anthony Rose 2021-02-03 08:23:59 +00:00
parent 77aef5ad91
commit d01139aeb9

View file

@ -321,7 +321,7 @@ case $- in
uname -sr uname -sr
printf "\033[0m" printf "\033[0m"
if [ -r /etc/os-release ]; then if [ -r /etc/os-release ]; then
echo " $(. /etc/os-release; echo $PRETTY_NAME)" echo " $(. /etc/os-release; echo $NAME $VERSION)"
fi fi
;; ;;
*) *)