fixed duplicate case
This commit is contained in:
parent
d1f7c47e0c
commit
467ca792c9
1 changed files with 5 additions and 7 deletions
12
neofetch
12
neofetch
|
@ -871,17 +871,15 @@ getcpu () {
|
|||
cpu=${cpu#*@ }
|
||||
;;
|
||||
|
||||
"on")
|
||||
"on" | "tiny")
|
||||
cpu=${cpu/Intel }
|
||||
cpu=${cpu/Core }
|
||||
cpu=${cpu/Core? Duo }
|
||||
cpu=${cpu/AMD }
|
||||
;;
|
||||
|
||||
"tiny")
|
||||
cpu=${cpu/Intel }
|
||||
cpu=${cpu/Core }
|
||||
cpu=${cpu/AMD }
|
||||
cpu=${cpu/@*}
|
||||
case "$cpu_shorthand" in
|
||||
"tiny") cpu${cpu/@*} ;;
|
||||
esac
|
||||
;;
|
||||
esac
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue