From 1fade60bc1f72a05d7b8f05460da6558197e168d Mon Sep 17 00:00:00 2001 From: Mike Khiretskiy Date: Tue, 2 Sep 2014 15:37:07 +0400 Subject: [PATCH] =?UTF-8?q?=D0=9D=D0=B0=D1=81=D1=82=D1=80=D0=BE=D0=B9?= =?UTF-8?q?=D0=BA=D0=B8=20=D0=B0=D0=B2=D1=82=D0=BE=D0=BE=D0=B1=D0=BD=D0=BE?= =?UTF-8?q?=D0=B2=D0=BB=D0=B5=D0=BD=D0=B8=D1=8F=20=D1=83=D0=B1=D1=80=D0=B0?= =?UTF-8?q?=D0=BD=D1=8B=20=D0=B4=D0=BB=D1=8F=20flash?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- install/variables/system.py | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/install/variables/system.py b/install/variables/system.py index 7f241b3..f7c2add 100644 --- a/install/variables/system.py +++ b/install/variables/system.py @@ -718,8 +718,25 @@ class VariableClInstallAutocheckSet(update.VariableClUpdateAutocheckSet): def get(self): return self.Get('update.cl_update_autocheck_set') + def uncompatible(self): + """ + Update setting up unavailable for flash installation + """ + if self.Get('os_install_root_type') == 'flash': + return \ + _("Update configuration unavailable for Flash install") + return "" class VariableClInstallAutocheckInterval( update.VariableClUpdateAutocheckInterval): def get(self): return self.Get('update.cl_update_autocheck_interval') + + def uncompatible(self): + """ + Update setting up unavailable for flash installation + """ + if self.Get('os_install_root_type') == 'flash': + return \ + _("Update configuration unavailable for Flash install") + return ""