File: 04_privacy-breach-generic.patch

package info (click to toggle)
gitmagic 20160304-1
  • links: PTS, VCS
  • area: main
  • in suites: buster, stretch
  • size: 2,280 kB
  • ctags: 20
  • sloc: makefile: 98; sh: 38
file content (16 lines) | stat: -rw-r--r-- 589 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
Description: Remove external call to google fonts
 This patch solve the lintian error 'privacy-breach-generic'
Author: Sebastien Badia <seb@sebian.fr>
Forwarded: not-needed
Last-Update: 2016-03-04

--- gitmagic-20160304.orig/makeover
+++ gitmagic-20160304/makeover
@@ -29,7 +29,6 @@ gawk '
 # For every file except the index...
 for FILE in $BOOKDIR/*.html
 do
-  sed '/<title>/a <link href="http://fonts.googleapis.com/css?family=Open+Sans" rel="stylesheet" type="text/css">' -i $FILE
   if [ $FILE != "$BOOKDIR/index.html" ]
   then
     # Prepend "Git Magic - " to titles of all pages.