Skip to content

Commit

Permalink
More information in the self update error popup (bsc#986091)
Browse files Browse the repository at this point in the history
- 3.1.197
  • Loading branch information
lslezak committed Jun 23, 2016
1 parent 924f5fe commit 5a2de41
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 3 deletions.
7 changes: 7 additions & 0 deletions package/yast2-installation.changes
@@ -1,3 +1,10 @@
-------------------------------------------------------------------
Thu Jun 23 08:17:24 UTC 2016 - lslezak@suse.cz

- Display more information in the error popup when downloading
the optional installer updates fails (bsc#986091)
- 3.1.197

-------------------------------------------------------------------
Thu Jun 16 13:31:16 UTC 2016 - igonzalezsosa@suse.com

Expand Down
2 changes: 1 addition & 1 deletion package/yast2-installation.spec
Expand Up @@ -17,7 +17,7 @@


Name: yast2-installation
Version: 3.1.196
Version: 3.1.197
Release: 0

BuildRoot: %{_tmppath}/%{name}-%{version}-build
Expand Down
14 changes: 12 additions & 2 deletions src/lib/installation/clients/inst_update_installer.rb
Expand Up @@ -214,9 +214,19 @@ def remote_self_update_url?
# false if the network is not configured.
def configure_network?
if Popup.YesNo(
# Note: the proxy cannot be configured in the YaST installer yet,
# it needs to be set via the "proxy" boot option.
# TRANSLATORS: %s is an URL
format(_("Downloading installer updates from \n%s\nfailed.\n\n" \
"Would you like to check your network configuration?"), self_update_url))
format(_("Downloading the optional installer updates from \n%s\nfailed.\n" \
"\n" \
"You can continue the installation without applying the updates.\n" \
"However, some potentially important bug fixes might be missing.\n" \
"\n" \
"If you need a proxy server to access the update repository\n" \
"then use the \"proxy\" boot parameter.\n" \
"\n" \
"Would you like to check your network configuration\n" \
"and try installing the updates again?"), self_update_url))
Yast::WFM.CallFunction("inst_lan", [{ "skip_detection" => true }])
true
else
Expand Down

0 comments on commit 5a2de41

Please sign in to comment.