summaryrefslogtreecommitdiff
path: root/network/ip2location-c/ip2location-c.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'network/ip2location-c/ip2location-c.SlackBuild')
-rw-r--r--network/ip2location-c/ip2location-c.SlackBuild5
1 files changed, 4 insertions, 1 deletions
diff --git a/network/ip2location-c/ip2location-c.SlackBuild b/network/ip2location-c/ip2location-c.SlackBuild
index 0609947eed..b163f08e8f 100644
--- a/network/ip2location-c/ip2location-c.SlackBuild
+++ b/network/ip2location-c/ip2location-c.SlackBuild
@@ -63,7 +63,10 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+# Upstream has replaced the original ip2location-c-7.0.0.tar.gz.
+# The new one has an extra directory level ip2location-c-7.0.0 level :(
+# (remove --strip-components=1 if/when upstream fixes it)
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz --strip-components=1
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \