Fixed whitespace issue
This commit is contained in:
parent
afbf12bba7
commit
0a882fd483
2
fetch.sh
2
fetch.sh
|
@ -478,6 +478,8 @@ getcpu () {
|
||||||
cpu="$(grep 'model name' /proc/cpuinfo)"
|
cpu="$(grep 'model name' /proc/cpuinfo)"
|
||||||
cpu=${cpu/model name*: /}
|
cpu=${cpu/model name*: /}
|
||||||
cpu=${cpu/ @*/}
|
cpu=${cpu/ @*/}
|
||||||
|
cpu=${cpu// /}
|
||||||
|
cpu=${cpu% }
|
||||||
|
|
||||||
# Get cpu speed
|
# Get cpu speed
|
||||||
speed=$(grep 'cpu MHz' /proc/cpuinfo)
|
speed=$(grep 'cpu MHz' /proc/cpuinfo)
|
||||||
|
|
Reference in New Issue