|
Lines 25-32
Link Here
|
| 25 |
import "Label"; |
25 |
import "Label"; |
| 26 |
import "Internet"; |
26 |
import "Internet"; |
| 27 |
import "Installation"; |
27 |
import "Installation"; |
|
|
28 |
import "NetworkService"; |
| 28 |
|
29 |
|
| 29 |
if (!Internet::do_you) return `auto; |
30 |
// BNC #450229 |
|
|
31 |
// There used to be >if (!Internet::do_you)< |
| 32 |
if (NetworkService::isNetworkRunning() != true) { |
| 33 |
y2milestone ("No network running, skipping online update..."); |
| 34 |
return `auto; |
| 35 |
} |
| 30 |
|
36 |
|
| 31 |
map ui = UI::GetDisplayInfo(); |
37 |
map ui = UI::GetDisplayInfo(); |
| 32 |
|
38 |
|
|
Lines 106-116
Link Here
|
| 106 |
} |
112 |
} |
| 107 |
else if ( ret == `next ) |
113 |
else if ( ret == `next ) |
| 108 |
{ |
114 |
{ |
| 109 |
if ( (boolean) UI::QueryWidget(`id(`noupdate), `Value) ) |
115 |
// Skipping online update |
| 110 |
ret = `skip; |
116 |
if ((boolean) UI::QueryWidget(`id(`noupdate), `Value)) { |
|
|
117 |
Internet::do_you = false; |
| 118 |
} else { |
| 119 |
// needed later |
| 120 |
// BNC #450229 |
| 121 |
Internet::do_you = true; |
| 122 |
} |
| 111 |
} |
123 |
} |
| 112 |
|
124 |
|
| 113 |
} until ( ret == `next || ret == `back || ret == `skip); |
125 |
} until ( ret == `next || ret == `back ); |
| 114 |
|
126 |
|
| 115 |
if ( ret == `skip ) |
127 |
if ( ret == `skip ) |
| 116 |
{ |
128 |
{ |