On 8/26/2010 9:31 PM, Kevin Ross wrote:
 On 8/26/2010 5:08 PM, T o n g wrote:
On Thu, 26 Aug 2010 02:03:55 +0200, Oliver Schneider wrote:

(which lsb_release>  /dev/null&&  `which lsb_release` --id)|awk '{print
$3}'

... does not work on older systems which don't have lsb_release, though.
Is lsb_release mandatory? I'm using latest testing and I don't have it.
So if your script depends on lsb_release, then it is specific to your
setting.

I just checked, it comes from the lsb-release package, the priority of which is optional.

To Oliver: if you're making a .deb package for your program, you could add lsb-release to its list of dependencies.


Could you not just use the uname command?


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4c77255c.1050...@envygeeks.com

Reply via email to