aboutsummarylogtreecommitdiffstats
path: root/update.policy
diff options
context:
space:
mode:
Diffstat (limited to 'update.policy')
-rw-r--r--update.policy33
1 files changed, 33 insertions, 0 deletions
diff --git a/update.policy b/update.policy
new file mode 100644
index 000000000000..75535d3e8b1e
--- /dev/null
+++ b/update.policy
@@ -0,0 +1,33 @@
+[File]
+;;=============================================================
+;; Registry - Mask this file is a registry file.
+;; Keep - Default. Use template file.
+;; Override - Use file in current prefix.
+;; Replace - If it's different type in current prefix and
+;; in template, use template one to replace it.
+;; Ingore - Ingore file when copy.
+
+;; Ingore update.policy itself.
+"^update.policy$" = "Ingore"
+"^.update-timestamp$" = "Ingore"
+
+;; System registry files.
+"^(system|userdef|user).reg$" = "Registry"
+
+;; Addtional assist files.
+"^drive_c/Deepin" = "Keep"
+
+;; Microsoft Office files.
+"^drive_c/Windows/(?:control\.ini|hh\.dat|mapiuid\.ini|Reg Save Log\.txt)$" = "Override"
+
+
+
+[Registry]
+;;=============================================================
+;; Keep - Use template key section
+;; Override - Use user current key section
+;; Merge - Default. Merge two section, user current values
+ override template
+
+"^Software\\Wine\\DllOverrides$" = "Keep"
+"^Software\\Wine\\Fonts\\Replacements$" = "Keep"