Skip to content

Commit

Permalink
Merge pull request #98 from yast/display_eula_url
Browse files Browse the repository at this point in the history
display where to download the extension EULA text (bnc#880685)
  • Loading branch information
lslezak committed Jun 9, 2014
2 parents 9e1150e + ac456b0 commit 542ed71
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 4 deletions.
6 changes: 6 additions & 0 deletions package/yast2-registration.changes
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
-------------------------------------------------------------------
Mon Jun 9 11:26:18 UTC 2014 - lslezak@suse.cz

- display where to download the extension EULA text (bnc#880685)
- 3.1.69

-------------------------------------------------------------------
Mon Jun 9 08:02:03 UTC 2014 - jreidinger@suse.com

Expand Down
6 changes: 3 additions & 3 deletions package/yast2-registration.spec
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@


Name: yast2-registration
Version: 3.1.68
Version: 3.1.69
Release: 0

BuildRoot: %{_tmppath}/%{name}-%{version}-build
Expand All @@ -34,7 +34,7 @@ Requires: yast2-ruby-bindings >= 3.1.12
Requires: rubygem-suse-connect >= 0.0.19
Requires: yast2-slp >= 3.1.2
Requires: yast2-add-on >= 3.1.8
Requires: yast2-packager >= 3.1.21
Requires: yast2-packager >= 3.1.22

BuildRequires: yast2 >= 3.1.26
BuildRequires: update-desktop-files
Expand All @@ -43,7 +43,7 @@ BuildRequires: rubygem-yast-rake >= 0.1.8
BuildRequires: rubygem-rspec
BuildRequires: rubygem-suse-connect >= 0.0.19
BuildRequires: yast2-slp >= 3.1.2
BuildRequires: yast2-packager >= 3.1.21
BuildRequires: yast2-packager >= 3.1.22

BuildArch: noarch

Expand Down
2 changes: 1 addition & 1 deletion src/lib/registration/ui/addon_eula_dialog.rb
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ def accept_eula(addon)

id = "#{addon.short_name} extension EULA"
Yast::ProductLicense.SetAcceptanceNeeded(id, true)
# TODO reset ProductLicense::license_file_print attribute
Yast::ProductLicense.license_file_print = addon.eula_url

# %s is an extension name, e.g. "SUSE Linux Enterprise Software Development Kit"
title = _("%s License Agreement") % addon.short_name
Expand Down

0 comments on commit 542ed71

Please sign in to comment.