control: fixed -1 3.7.0-1

On Thu, 15 Sep 2016 03:32:18 +0000
Alex Easton <alex-eas...@outlook.com> wrote:
> ~ ยป sh cpu.sh
> /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq
> 2415700
> 2415.7

 It was fixed in 3.7.0-1.

3.6.5
>>                if [ -n "$cpu_mhz" ];then
>>                        if [ $cpu_mhz -gt 999 ];then

3.7.0
>>                if [ -n "$cpu_mhz" ];then
>>                        if [ $(echo $cpu_mhz | cut -d. -f1) -gt 999 ];then

 cpu_mhz=2415.7 causes error in 3.6.5 but doesn't in 3.7.0
 

 workaround)
 Please fetch screenfetch package in testing/unstable e.g.
 
https://cloudfront.debian.net/debian/pool/main/s/screenfetch/screenfetch_3.7.0-1_all.deb
 and install it.



-- 
Regards,

 Hideki Yamane     henrich @ debian.or.jp/org
 http://wiki.debian.org/HidekiYamane

Reply via email to