summaryrefslogtreecommitdiff
path: root/network/megasync/megasync.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'network/megasync/megasync.SlackBuild')
-rw-r--r--network/megasync/megasync.SlackBuild4
1 files changed, 2 insertions, 2 deletions
diff --git a/network/megasync/megasync.SlackBuild b/network/megasync/megasync.SlackBuild
index dadb62a28b..1a9b8f7e2f 100644
--- a/network/megasync/megasync.SlackBuild
+++ b/network/megasync/megasync.SlackBuild
@@ -54,7 +54,7 @@ fi
set -e
# Get the real version
-REAL_VER=$(ar p megasync-Debian_8.0_${DEBARCH}.deb control.tar.gz | tar xzO ./control | grep Version | cut -d\ -f2 | cut -d- -f1)
+REAL_VER=$(ar p megasync-Debian_7.0_${DEBARCH}.deb control.tar.gz | tar xzO ./control | grep Version | cut -d\ -f2 | cut -d- -f1)
if [ "$VERSION" != "$REAL_VER" ]; then
echo "Version of downloaded source [$REAL_VER] does not match version of SlackBuild [$VERSION]"
exit 1
@@ -63,7 +63,7 @@ fi
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $PKG
-ar p $CWD/megasync-Debian_8.0_${DEBARCH}.deb data.tar.xz | tar xJv
+ar p $CWD/megasync-Debian_7.0_${DEBARCH}.deb data.tar.gz | gzip -d | tar xv
chown -R root:root .
find -L . \