[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#511343: knetworkconf: claims my system is unsupported



On 2009-01-10 09:10 +0100, Sven Joachim wrote:

> On 2009-01-09 22:43 +0100, Ana Guerrero wrote:
>
>> Boh, i have tried playing with the /etc/debian_version and it does not care
>> what i write there, it never works. It used to work and nothing have changed
>> in the KDE side. Not that it solves the problem, but at least it does not seem
>> to be my patch's fault =)
>
> It seems that debian-lenny is not a accepted as a supported platform,
> however.  If I put "lenny/sid" into /etc/debian_version, then
> check_debian returns debian-testing rather than debian-lenny, and the
> warning dialog does not appear any more.

Closer inspection reveals that in
/usr/share/apps/knetworkconf/backends/network-conf the array @platforms
only contains release numbers (debian-x.y) and testing (debian-testing),
while check_debian in platform.pl returns debian-lenny for 5.0 and
debian-etch for 4.0.  This is bad, we could either add
debian-{etch,lenny} to @platforms in network-conf or modify the %vermap
hash in platform.pl to return 4.0 and 5.0 unchanged instead of changing
it into a codename.

Sven



Reply to: