mirror of
https://github.com/dylanaraps/neofetch.git
synced 2025-12-23 12:09:55 +00:00
fixed duplicate case
This commit is contained in:
12
neofetch
12
neofetch
@@ -871,17 +871,15 @@ getcpu () {
|
|||||||
cpu=${cpu#*@ }
|
cpu=${cpu#*@ }
|
||||||
;;
|
;;
|
||||||
|
|
||||||
"on")
|
"on" | "tiny")
|
||||||
cpu=${cpu/Intel }
|
cpu=${cpu/Intel }
|
||||||
cpu=${cpu/Core }
|
cpu=${cpu/Core }
|
||||||
|
cpu=${cpu/Core? Duo }
|
||||||
cpu=${cpu/AMD }
|
cpu=${cpu/AMD }
|
||||||
;;
|
|
||||||
|
|
||||||
"tiny")
|
case "$cpu_shorthand" in
|
||||||
cpu=${cpu/Intel }
|
"tiny") cpu${cpu/@*} ;;
|
||||||
cpu=${cpu/Core }
|
esac
|
||||||
cpu=${cpu/AMD }
|
|
||||||
cpu=${cpu/@*}
|
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user