summaryrefslogtreecommitdiffstats
path: root/debian/patches/0006-do-not-install-fonts-packaged-by-Debian.patch
diff options
context:
space:
mode:
Diffstat (limited to 'debian/patches/0006-do-not-install-fonts-packaged-by-Debian.patch')
-rw-r--r--debian/patches/0006-do-not-install-fonts-packaged-by-Debian.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/debian/patches/0006-do-not-install-fonts-packaged-by-Debian.patch b/debian/patches/0006-do-not-install-fonts-packaged-by-Debian.patch
new file mode 100644
index 0000000..3cac43d
--- /dev/null
+++ b/debian/patches/0006-do-not-install-fonts-packaged-by-Debian.patch
@@ -0,0 +1,22 @@
+From: =?utf-8?q?Christian_G=C3=B6ttsche?= <cgzones@googlemail.com>
+Date: Wed, 15 Jan 2020 16:40:41 +0100
+Subject: do not install fonts packaged by Debian
+
+Forwarded: not-needed
+---
+ CMakeLists.txt | 4 +++-
+ 1 file changed, 3 insertions(+), 1 deletion(-)
+
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -774,7 +774,9 @@ INSTALL(PROGRAMS "utils/rspamd_stats.pl"
+
+ # Install webui
+ IF (INSTALL_WEBUI MATCHES "ON")
+- INSTALL(DIRECTORY "interface/" DESTINATION ${WWWDIR} PATTERN ".git" EXCLUDE)
++ INSTALL(DIRECTORY "interface/" DESTINATION ${WWWDIR}
++ PATTERN ".git" EXCLUDE
++ PATTERN "glyphicons-halflings-regular.*" EXCLUDE)
+ ENDIF (INSTALL_WEBUI MATCHES "ON")
+
+