Fixed double space before '@' sign in cpu info

This commit is contained in:
Dylan 2016-01-31 00:00:20 +11:00
parent e5caad6abb
commit c646a32fca
1 changed files with 1 additions and 0 deletions

1
fetch
View File

@ -711,6 +711,7 @@ getcpu () {
cpu=${cpu/model name*: } cpu=${cpu/model name*: }
cpu=${cpu%% *} cpu=${cpu%% *}
cpu=${cpu/ @*} cpu=${cpu/ @*}
cpu=${cpu// }
# Get cpu speed # Get cpu speed
if [ -d "/sys/devices/system/cpu/cpu0/cpufreq" ]; then if [ -d "/sys/devices/system/cpu/cpu0/cpufreq" ]; then