mirror of
https://github.com/dylanaraps/neofetch.git
synced 2025-10-04 01:00:17 +00:00
Fixed missing *
This commit is contained in:
2
fetch
2
fetch
@@ -554,7 +554,7 @@ getcpu () {
|
|||||||
|
|
||||||
# Get cpu speed
|
# Get cpu speed
|
||||||
case "$distro" in
|
case "$distro" in
|
||||||
*"buntu")
|
*"buntu"*)
|
||||||
speed=$(awk -F ': ' '/cpu Mhz/ {printf $2}' /proc/cpuinfo)
|
speed=$(awk -F ': ' '/cpu Mhz/ {printf $2}' /proc/cpuinfo)
|
||||||
speed=${speed/\./}
|
speed=${speed/\./}
|
||||||
;;
|
;;
|
||||||
|
Reference in New Issue
Block a user