r14912 - packages/trunk/renpy/debian

Miriam Ruiz miriam at moszumanska.debian.org
Wed Feb 19 02:19:53 UTC 2014


Author: miriam
Date: 2014-02-19 02:19:53 +0000 (Wed, 19 Feb 2014)
New Revision: 14912

Modified:
   packages/trunk/renpy/debian/rules
Log:
Fix privacy issues in the documentation



Modified: packages/trunk/renpy/debian/rules
===================================================================
--- packages/trunk/renpy/debian/rules	2014-02-19 00:19:23 UTC (rev 14911)
+++ packages/trunk/renpy/debian/rules	2014-02-19 02:19:53 UTC (rev 14912)
@@ -68,7 +68,7 @@
 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 @@
 	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




More information about the Pkg-games-commits mailing list