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.