auto generated menu.lst file contents

Colin Watson cjwatson at ubuntu.com
Mon Jan 7 11:19:08 UTC 2013


On Fri, Jan 04, 2013 at 10:54:10PM +0500, Saqlain Abbas wrote:
> Alexander, once again thank you! You guided me to a new world :-), i
> download grub source code and update-grub command script tells whole story
> ;)
> 
> # Title
> title=$(lsb_release --short --description 2>/dev/null) || title="Ubuntu"

Well, no, it doesn't tell the whole story regarding your question.  That
command says "use what lsb_release --short --description says, and if it
returns an error then fall back to Ubuntu".  It does not explain why
you're getting "Ubuntu" after configuring lsb_release to say something
else.

I suppose it's possible that you could have misconfigured
/etc/lsb-release such that the lsb_release command fails with an error.

-- 
Colin Watson                                       [cjwatson at ubuntu.com]




More information about the Ubuntu-devel-discuss mailing list