Psi version string presents as "Debian testing/unstable" on Dapper
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
psi (Ubuntu) |
Fix Released
|
Low
|
Luke Yelavich |
Bug Description
Binary package hint: psi
Psi under Dapper presents a version string of "0.10: Debian GNU/Linux testing/unstable". This should probably be something Ubuntu-specific.
Looking at the source, in src/common.cpp Psi determines its OS and flavour by looking for various pertinent 'version' files on the system, i.e. /etc/debian_
To present the correct version string under Ubuntu, I guess it would need to look at /etc/lsb-release.
I'm unclear whether this is really an Ubuntu bug, or whether it should be fixed upstream. I could supply a patch for this if required, although it really would be extremely trivial.
Changed in psi: | |
importance: | Undecided → Low |
status: | Unconfirmed → Confirmed |
Changed in psi: | |
assignee: | nobody → xxxxx1 |
status: | Confirmed → In Progress |
Changed in psi: | |
assignee: | nobody → themuso |
status: | Confirmed → In Progress |
http:// flyspray. psi-im. org/task/ 420 - just spotted this (not-yet- implemented) upstream enhancement to Psi which uses lsb_release to determine the OS/flavour. Given that it returns sensible values under Ubuntu:
$ lsb_release --id --codename --release --short
Ubuntu
6.06
dapper
if this change is incorporated into Psi, Ubuntu will be present in the version string issued by Psi.