[boinc] 02/03: Replace fonts with system versions

Gianfranco Costamagna locutusofborg at moszumanska.debian.org
Mon Aug 14 08:40:31 UTC 2017


This is an automated email from the git hooks/post-receive script.

locutusofborg pushed a commit to branch master
in repository boinc.

commit 3149fdbc3f853eed4170a1c2f8f341966ffc5f5c
Author: Gianfranco Costamagna <costamagnagianfranco at yahoo.it>
Date:   Sun Aug 13 15:25:52 2017 +0200

    Replace fonts with system versions
---
 debian/rules | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/debian/rules b/debian/rules
index dfde1c1..31481ef 100755
--- a/debian/rules
+++ b/debian/rules
@@ -384,6 +384,16 @@ ifeq (,$(ENABLE_SERVER_TEST))
 	echo "I: Installing example scientific applications"
 	mkdir -p $(CURDIR)/debian/tmp/samples
 	cp $(SAMPLES) $(CURDIR)/debian/tmp/samples || echo "W: Could not install samples ($(SAMPLES))"
+	for i in `ls $(CURDIR)/debian/tmp/usr/share/boinc-server-maker/html/drupal/sites/all/libraries/fonts/*.ttf`; do \
+		rm -r $(CURDIR)/debian/tmp/usr/share/boinc-server-maker/html/drupal/sites/all/libraries/fonts/$i ;\
+		ln -s /usr/share/fonts/truetype/dejavu/$i $(CURDIR)/debian/tmp/usr/share/boinc-server-maker/html/drupal/sites/all/libraries/fonts/$i ; \
+	done;
+
+	for i in `ls $(CURDIR)/debian/tmp/usr/share/boinc-server-maker/html/drupal/sites/default/boinc/themes/boinc/fonts/*`; do \
+		rm -r $(CURDIR)/debian/tmp/usr/share/boinc-server-maker/html/drupal/sites/default/boinc/themes/boinc/fonts/$i ;\
+		ln -s /usr/share/fonts-font-awesome/fonts/$i $(CURDIR)/debian/tmp/usr/share/boinc-server-maker/html/drupal/sites/default/boinc/themes/boinc/fonts/$i; \
+	done;
+
 endif
 	for i in $(CURDIR)/debian/*/usr/bin ; \
 	do \

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-boinc/boinc.git



More information about the pkg-boinc-commits mailing list