myunity team mailing list archive
-
myunity team
-
Mailing list archive
-
Message #00434
[Bug 999771] [NEW] myunity incorrectly parses lsb-release
Public bug reported:
myunity incorrectly parses the lsb-release file in Main.module. It makes assumptions about the order of lines. Since lsb-release is a list of shell variables which can be sourced by other programs, perhaps it would be better to use the shell to parse it, rather than just cat it. Something more like:
SHELL "source /etc/lsb-release; echo $DISTRIB_RELEASE" to Uversion
** Affects: myunity
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of MyUnity
team, which is subscribed to MyUnity.
https://bugs.launchpad.net/bugs/999771
Title:
myunity incorrectly parses lsb-release
Status in MyUnity:
New
Bug description:
myunity incorrectly parses the lsb-release file in Main.module. It makes assumptions about the order of lines. Since lsb-release is a list of shell variables which can be sourced by other programs, perhaps it would be better to use the shell to parse it, rather than just cat it. Something more like:
SHELL "source /etc/lsb-release; echo $DISTRIB_RELEASE" to Uversion
To manage notifications about this bug go to:
https://bugs.launchpad.net/myunity/+bug/999771/+subscriptions
Follow ups
-
[Bug 999771] Re: myunity depends upon DISTRIB_RELEASE being the second entry in /etc/lsb-release
From: Steve Langasek, 2021-10-14
-
[Bug 999771] Re: myunity depends upon DISTRIB_RELEASE being the second entry in /etc/lsb-release
From: Mattias Nilsson, 2013-06-19
-
[Bug 999771] Re: myunity depends upon DISTRIB_RELEASE being the second entry in /etc/lsb-release
From: Launchpad Bug Tracker, 2013-06-19
-
[Bug 999771] Re: myunity depends upon DISTRIB_RELEASE being the second entry in /etc/lsb-release
From: Dmitrijs Ledkovs, 2012-11-27
-
[Bug 999771] Re: myunity depends upon DISTRIB_RELEASE being the second entry in /etc/lsb-release
From: Micah Gersten, 2012-11-09
-
[Bug 999771] Re: myunity depends upon DISTRIB_RELEASE being the second entry in /etc/lsb-release
From: Colin Watson, 2012-10-05
-
[Bug 999771] Re: myunity depends upon DISTRIB_RELEASE being the second entry in /etc/lsb-release
From: Launchpad Bug Tracker, 2012-10-05
-
[Bug 999771] Re: myunity depends upon DISTRIB_RELEASE being the second entry in /etc/lsb-release
From: Iain Lane, 2012-10-05
-
[Bug 999771] Re: myunity depends upon DISTRIB_RELEASE being the second entry in /etc/lsb-release
From: Margarita Manterola, 2012-10-05
-
[Bug 999771] Re: myunity depends upon DISTRIB_RELEASE being the second entry in /etc/lsb-release
From: Joel Ebel, 2012-10-04
-
[Bug 999771] Re: myunity incorrectly parses lsb-release
From: Michael Terry, 2012-10-04
-
[Bug 999771] Re: myunity incorrectly parses lsb-release
From: Michael Terry, 2012-10-04
-
[Bug 999771] Re: myunity incorrectly parses lsb-release
From: Margarita Manterola, 2012-09-24
-
[Bug 999771] Re: myunity incorrectly parses lsb-release
From: Margarita Manterola, 2012-09-24
-
[Bug 999771] Re: myunity incorrectly parses lsb-release
From: Dmitrijs Ledkovs, 2012-09-22
-
[Bug 999771] Re: myunity incorrectly parses lsb-release
From: Dmitrijs Ledkovs, 2012-09-22
-
[Bug 999771] Re: myunity incorrectly parses lsb-release
From: Ubuntu Foundation's Bug Bot, 2012-09-21
-
[Bug 999771] Re: myunity incorrectly parses lsb-release
From: Margarita Manterola, 2012-09-21
-
[Bug 999771] Re: myunity incorrectly parses lsb-release
From: Margarita Manterola, 2012-09-13
-
[Bug 999771] Re: myunity incorrectly parses lsb-release
From: Joel Ebel, 2012-05-15
-
[Bug 999771] [NEW] myunity incorrectly parses lsb-release
From: Joel Ebel, 2012-05-15
References