File: skip-dpkg-tmp-files.patch

package info (click to toggle)
fontconfig 2.17.1-1
  • links: PTS, VCS
  • area: main
  • in suites: experimental
  • size: 5,100 kB
  • sloc: ansic: 26,595; makefile: 1,281; sh: 1,205; python: 1,010
file content (39 lines) | stat: -rw-r--r-- 896 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
From: =?utf-8?q?Rapha=C3=ABl_Hertzog?= <hertzog@debian.org>
Date: Sun, 13 Aug 2017 14:48:34 -0400
Subject: Configure fontconfig to ignore *.dpkg-tmp *.dpkg-new files

Bug: https://bugs.freedesktop.org/show_bug.cgi?id=96896
Bug-Debian: https://bugs.debian.org/828037
Bug-Debian: https://bugs.debian.org/835142
Last-Update: 2016-08-24

Last-Update: 2016-08-24
---
 fonts.conf.in | 14 ++++++++++++++
 1 file changed, 14 insertions(+)

diff --git a/fonts.conf.in b/fonts.conf.in
index 44a4484..943be2b 100644
--- a/fonts.conf.in
+++ b/fonts.conf.in
@@ -77,6 +77,20 @@
 		</edit>
 	</match>
 
+<!--
+  Ignore dpkg temporary files created in fonts directories
+-->
+	<selectfont>
+		<rejectfont>
+			<glob>*.dpkg-tmp</glob>
+		</rejectfont>
+	</selectfont>
+	<selectfont>
+		<rejectfont>
+			<glob>*.dpkg-new</glob>
+		</rejectfont>
+	</selectfont>
+
 <!--
   Load local system customization file
 -->