summaryrefslogtreecommitdiffstats
path: root/config/createprecomplete.py
diff options
context:
space:
mode:
Diffstat (limited to 'config/createprecomplete.py')
-rw-r--r--config/createprecomplete.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/config/createprecomplete.py b/config/createprecomplete.py
index 8c5fceefaa..f3ac8c6713 100644
--- a/config/createprecomplete.py
+++ b/config/createprecomplete.py
@@ -24,7 +24,11 @@ def get_build_entries(root_path):
if not (
rel_path_file.endswith("channel-prefs.js")
or rel_path_file.endswith("update-settings.ini")
- or rel_path_file.find("distribution/") != -1
+ or "/ChannelPrefs.framework/" in rel_path_file
+ or rel_path_file.startswith("ChannelPrefs.framework/")
+ or "/UpdateSettings.framework/" in rel_path_file
+ or rel_path_file.startswith("UpdateSettings.framework/")
+ or "distribution/" in rel_path_file
):
rel_file_path_set.add(rel_path_file)