fix:The main version file of GNU/Deepin Linux has been moved from /etc/deepin-version to /etc/os-version (#1667)
Description: Log:
This commit is contained in:
parent
3514e02d61
commit
9b708d6e5f
1 changed files with 1 additions and 1 deletions
2
neofetch
2
neofetch
|
@ -1840,7 +1840,7 @@ get_de() {
|
|||
Xfce*) de_ver=$(xfce4-session --version) ;;
|
||||
GNOME*) de_ver=$(gnome-shell --version) ;;
|
||||
Cinnamon*) de_ver=$(cinnamon --version) ;;
|
||||
Deepin*) de_ver=$(awk -F'=' '/Version/ {print $2}' /etc/deepin-version) ;;
|
||||
Deepin*) de_ver=$(awk -F'=' '/MajorVersion/ {print $2}' /etc/os-version) ;;
|
||||
Budgie*) de_ver=$(budgie-desktop --version) ;;
|
||||
LXQt*) de_ver=$(lxqt-session --version) ;;
|
||||
Lumina*) de_ver=$(lumina-desktop --version 2>&1) ;;
|
||||
|
|
Loading…
Reference in a new issue