2010-11-11 22:44:09 |
Daniel Hahler |
description |
Binary package hint: byobu
In case lsb_release is not installed, Debian testing gets detected as "Debian \l" currently (sed "s/ [^0-9]* / /" removes the squeeze/sid part).
I've noticed that there's a file /etc/debian_version, which should just get used instead.
IMHO this would make sense before "lsb_release" already (which is rather slow AFAIK), but I've put it below as fallback. |
Binary package hint: byobu
In case lsb_release is not installed, Debian testing gets detected as "Debian \l" currently (sed "s/ [^0-9]* / /" removes the squeeze/sid part).
I've noticed that there's a file /etc/debian_version, which should just get used instead.
IMHO this would make sense before "lsb_release" already (which is rather slow AFAIK), but I've put it below as fallback.
While the "lsb_release" method will result in "Debian testing", /etc/debian_version says "squeeze/sid" (resulting in "Debian squeeze/sid"). This is fine for me though.
This might be related to testing being frozen currently?! |
|