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 ""