mirror of
https://github.com/altlinux/gpupdate.git
synced 2025-01-08 05:17:54 +03:00
Added --force key management via Group Policy
This commit is contained in:
parent
dba6a58c6a
commit
c6c34accff
@ -718,7 +718,8 @@ def add_preferences_to_global_registry_dict(username, is_machine):
|
||||
update_dict(Dconf_registry.global_registry_dict, preferences_global_dict)
|
||||
|
||||
def extract_display_name_version(data):
|
||||
if Dconf_registry._force:
|
||||
policy_force = data.get('Software/BaseALT/Policies/GPUpdate', {}).get('Force', False)
|
||||
if Dconf_registry._force or policy_force:
|
||||
return {}
|
||||
result = {}
|
||||
tmp = {}
|
||||
|
Loading…
Reference in New Issue
Block a user