aboutsummaryrefslogtreecommitdiff
path: root/development/newtonsoft-json/newtonsoft-json.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'development/newtonsoft-json/newtonsoft-json.SlackBuild')
-rw-r--r--development/newtonsoft-json/newtonsoft-json.SlackBuild5
1 files changed, 3 insertions, 2 deletions
diff --git a/development/newtonsoft-json/newtonsoft-json.SlackBuild b/development/newtonsoft-json/newtonsoft-json.SlackBuild
index 4545fed4d9c2a..6d38568adc686 100644
--- a/development/newtonsoft-json/newtonsoft-json.SlackBuild
+++ b/development/newtonsoft-json/newtonsoft-json.SlackBuild
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=newtonsoft-json
-VERSION=${VERSION:-6.0.4}
+VERSION=${VERSION:-8.0.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -60,7 +60,8 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-tar xvf $CWD/$VERSION.tar.gz
+# Make sure sbokpg can extract the source
+tar xvf $CWD/Newtonsoft.Json-$VERSION.tar.gz || tar xvf $CWD/$VERSION.tar.gz
cd Newtonsoft.Json-$VERSION
chown -R root:root .
find -L . \