[renpy] 97/146: Fix privacy issues in the documentation

Markus Koschany apo-guest at moszumanska.debian.org
Tue Jan 12 19:40:11 UTC 2016


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

apo-guest pushed a commit to branch experimental
in repository renpy.

commit 910a7ae5dde82fece9fc02b83ea74ea2c71fe74a
Author: Miriam Ruiz <miriam at debian.org>
Date:   Wed Feb 19 02:19:53 2014 +0000

    Fix privacy issues in the documentation
---
 debian/rules | 11 ++++++++++-
 1 file changed, 10 insertions(+), 1 deletion(-)

diff --git a/debian/rules b/debian/rules
index a75c8c3..18f7334 100755
--- a/debian/rules
+++ b/debian/rules
@@ -68,7 +68,7 @@ clean: configure
 install-indep:
 	dh_testdir
 	dh_testroot
-	dh_clean -k 
+	dh_prep -i
 	dh_installdirs
 
 	# renpy/ - Contains the python source code for Ren'Py.
@@ -140,6 +140,15 @@ binary-indep: install-indep
 	dh_installman -prenpy-thequestion debian/the_question.6
 	#dh_installdirs -prenpy usr/share/lintian/overrides/
 	#dh_install -prenpy debian/overrides/renpy usr/share/lintian/overrides/
+
+	#Fix Privacy Issues
+	cd $(CURDIR)/debian/renpy-doc/usr/share/doc/renpy/html/ && \
+		ls *.html | while read f; do \
+			cp "$$f" "$$f.orig"; \
+			cat "$$f.orig" \
+				| awk -vnum=10 '/http:\/\/www.google.com\/jsapi/{for(i=0;i<=num;i++)getline}1' > "$$f"; \
+		done; rm *.orig
+
 	dh_compress -i --exclude=.js --exclude=.pdf --exclude=.py --exclude=.txt
 	dh_fixperms -i
 	dh_pysupport -i

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



More information about the Pkg-games-commits mailing list