path: root/kde/post-install/
diff options
author Eric Hameleers <>2019-05-11 15:17:12 +0200
committer Eric Hameleers <>2019-05-11 15:17:12 +0200
commit5cb2f7c9574c7380f4ef4280b836ea9c231856d3 (patch)
tree1935418a9a9a4154c1daf4961e311be33e89698a /kde/post-install/
parent5434f714576ccde9bf1c1e300ede6fc1ba0ac3ed (diff)
ktorrent: embed a local copy of the GeoIP database
The online version of GeoIP has been discontinued in favor of a new API. The ktorrent code has not been updated for the new API and therefore the program spits out a download error for geoip.dat everytime it starts. By embedding a local copy of the database, a download is not attempted and the error is gone.
Diffstat (limited to '')
1 files changed, 4 insertions, 0 deletions
diff --git a/kde/post-install/ b/kde/post-install/
new file mode 100644
index 0000000..7e0c130
--- /dev/null
+++ b/kde/post-install/
@@ -0,0 +1,4 @@
+# Install a private copy of the GeoIP database, now that the online version
+# has been discontinued:
+mkdir -p $PKG/usr/share/apps/ktorrent/GeoIP
+zcat $CWD/patch/ktorrent/geoip.dat.gz > $PKG/usr/share/apps/ktorrent/GeoIP/geoip.dat