mirror of
https://github.com/altlinux/gpupdate.git
synced 2025-03-21 18:50:38 +03:00
Fixed adding a list of scripts
This commit is contained in:
parent
dd43ddaad6
commit
0720471cca
@ -335,13 +335,13 @@ class Dconf_registry():
|
||||
action_scripts = list()
|
||||
for part in self.scripts:
|
||||
if action == 'LOGON':
|
||||
action_scripts.extend(part.get_logon_scripts())
|
||||
action_scripts.append(part)
|
||||
elif action == 'LOGOFF':
|
||||
action_scripts.extend(part.get_logoff_scripts())
|
||||
action_scripts.append(part)
|
||||
elif action == 'STARTUP':
|
||||
action_scripts.extend(part.get_startup_scripts())
|
||||
action_scripts.append(part)
|
||||
elif action == 'SHUTDOWN':
|
||||
action_scripts.extend(part.get_shutdown_scripts())
|
||||
action_scripts.append(part)
|
||||
return action_scripts
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user