Re: Installed lsb-release 1.3-1 (all source)
Is this supposed to show something useful even without an
/etc/lsb-release file?
All it's magic seems to hide behind /etc/lsb-release. If that file is
removed, the report looks like this:
# lsb_release -a
LSB Version: n/a
Distributor ID: n/a
Description: LSB_VERSION=0.0
Release: n/a
Codename: n/a
It should be able to pick up a few things anyway, like:
- the existance of /etc/debian_version should indicate it's:
Distributor ID: Debian
Description: Debian GNU/Linux
- the version number (2.2) in /etc/debian_version should give:
Release: 2.2
Codename: potato
- lsb version could show the same thing like on woody: 0.0
LSB Version: 0.0
Distributor ID: Debian
Description: Debian GNU/Linux
Release: 2.3
Codename: woody
Just wondering.
> Format: 1.7
> Date: Mon, 30 Oct 2000 17:11:41 +0100
> Source: lsb-release
> Binary: lsb-release
> Architecture: source all
> Version: 1.3-1
> Distribution: unstable
> Urgency: low
> Maintainer: Wichert Akkerman <wakkerma@debian.org>
> Changed-By: Wichert Akkerman <wakkerma@debian.org>
> Description:
> lsb-release - LSB release command
> Changes:
> lsb-release (1.3-1) unstable; urgency=low
> .
> * New upstream version
> Files:
> 4cf8dc675e6061c05e9311520f6b25ee 588 base standard lsb-release_1.3-1.dsc
> d94b3d6e779680931518103ab21b8a67 10092 base standard lsb-release_1.3.orig.tar.gz
> a3ae2319ba2d810199e9834bb8c61907 1236 base standard lsb-release_1.3-1.diff.gz
> 919013658445c00a1a3de774a4cb23ee 7436 base standard lsb-release_1.3-1_all.deb
Cheers,
Cristian
--
Be careful, life will kill you.
Reply to: