diff options
author | 2012-11-13 17:50:54 -0400 | |
---|---|---|
committer | 2012-11-13 17:50:54 -0400 | |
commit | 66cfb61912d2f7fc04b9716b82aad9b02096a6ad (patch) | |
tree | b901cadef39781a9f0e87caa6a80d7bdcc293a40 /Assistant/Threads/ConfigMonitor.hs | |
parent | b48755af70f229dce53138100105f352c8f6580c (diff) |
automatic repolist updating
Diffstat (limited to 'Assistant/Threads/ConfigMonitor.hs')
-rw-r--r-- | Assistant/Threads/ConfigMonitor.hs | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Assistant/Threads/ConfigMonitor.hs b/Assistant/Threads/ConfigMonitor.hs index 2d012ad80..47e197116 100644 --- a/Assistant/Threads/ConfigMonitor.hs +++ b/Assistant/Threads/ConfigMonitor.hs @@ -72,8 +72,9 @@ reloadConfigs changedconfigs = do sequence_ as void preferredContentMapLoad {- Changes to the remote log, or the trust log, can affect the - - syncRemotes list -} - when (Logs.Remote.remoteLog `elem` fs || Logs.Trust.trustLog `elem` fs) $ + - syncRemotes list. Changes to the uuid log may affect its + - display so are also included. -} + when (any (`elem` fs) [remoteLog, trustLog, uuidLog]) $ updateSyncRemotes where (fs, as) = unzip $ filter (flip S.member changedfiles . fst) |