instead of env-variable, show ditro editor which is defined in the xml
Signed-off-by: Michael Kaufmann (d00p) <d00p@froxlor.org>
This commit is contained in:
@@ -65,6 +65,12 @@ class ConfigParser {
|
||||
*/
|
||||
public $distributionVersion = '';
|
||||
|
||||
/**
|
||||
* Recommended editor
|
||||
* @var string
|
||||
*/
|
||||
public $distributionEditor = '/bin/nano';
|
||||
|
||||
/**
|
||||
* Show if this configuration is deprecated
|
||||
* @var bool
|
||||
@@ -106,6 +112,7 @@ class ConfigParser {
|
||||
case "name": $this->distributionName = (string)$value; break;
|
||||
case "version": $this->distributionVersion = (string)$value; break;
|
||||
case "codename": $this->distributionCodename = (string)$value; break;
|
||||
case "defaulteditor": $this->distributionEditor = (string)$value; break;
|
||||
case "deprecated": (string)$value == 'true' ? $this->deprecated = true : $this->deprecated = false; break;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user