diff options
author | Eric Hameleers <alien@slackware.com> | 2019-05-11 15:17:12 +0200 |
---|---|---|
committer | Eric Hameleers <alien@slackware.com> | 2019-05-11 15:17:12 +0200 |
commit | 5cb2f7c9574c7380f4ef4280b836ea9c231856d3 (patch) | |
tree | 1935418a9a9a4154c1daf4961e311be33e89698a /kde/post-install | |
parent | 5434f714576ccde9bf1c1e300ede6fc1ba0ac3ed (diff) | |
download | ktown-5cb2f7c9574c7380f4ef4280b836ea9c231856d3.tar.gz ktown-5cb2f7c9574c7380f4ef4280b836ea9c231856d3.tar.xz |
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 'kde/post-install')
-rw-r--r-- | kde/post-install/ktorrent.post-install | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/kde/post-install/ktorrent.post-install b/kde/post-install/ktorrent.post-install new file mode 100644 index 0000000..7e0c130 --- /dev/null +++ b/kde/post-install/ktorrent.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 |