Package: laptop-detect
Version: 0.12.1
Severity: minor

laptop-detect does some magic with dmidecode which could be simplified
using dmidecode --string. You have this shell fragment:

  dmitype=$(dmidecode|grep Chassis -A 10|grep -m1 Type|sed -e 's/.*Type: 
\(.*\)/\1/')

which has a much simpler equivalent:

  dmitype=$(dmidecode --string chassis-type)


-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 
'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.17-sesse
Locale: LANG=nb_NO.UTF-8, LC_CTYPE=nb_NO.UTF-8 (charmap=UTF-8)

Versions of packages laptop-detect depends on:
ii  dmidecode                     2.8-2      Dump Desktop Management Interface 

laptop-detect recommends no packages.

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to