Branch: refs/heads/feature/fate-325482-display-the-license
Home: https://github.com/yast/yast-yast2
Commit: 215a9f55860905036e1a3b8e448d4ba41344b972
https://github.com/yast/yast-yast2/commit/215a9f55860905036e1a3b8e448d4ba413...
Author: David Díaz González
Date: 2018-12-27 (Thu, 27 Dec 2018)
Changed paths:
M library/packages/src/lib/y2packager/licenses_fetchers/rpm.rb
M library/packages/test/y2packager/licenses_fetchers/rpm_test.rb
Log Message:
-----------
Include the default lang in LicensesFetchers::Rpm#locales
Since it is possible to have the "LICENSE.TXT" file, without the
language code, which usually represents the license for the default
language.
This change is needed to keep consistent between the displayed license
content and the selected language in the license agreement dialog[1],
avoiding to select the first one because of the absence of proper value.
[1] https://github.com/yast/yast-packager/blob/e625f6ea375b9ffbc82eddae8774d0664...
**NOTE:** This service has been marked for deprecation: https://developer.github.com/changes/2018-04-25-github-services-deprecation/
Functionality will be removed from GitHub.com on January 31st, 2019.