aboutsummaryrefslogtreecommitdiff
path: root/network/dnscrypt-wrapper
diff options
context:
space:
mode:
authorDavid Spencer <baildon.research@googlemail.com>2013-11-24 11:14:32 +0000
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2013-11-24 19:23:46 +0700
commit7996b0b9f29f28d9addc92d646e38cbccfdd4cb5 (patch)
treebfcbad1cab55f1b3cc48fb5bca4f3ee318a2f408 /network/dnscrypt-wrapper
parent8f5cfc820da492e50b780fa12d4543dab6225f7c (diff)
network/dnscrypt-wrapper: Fixed for github tarball.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'network/dnscrypt-wrapper')
-rw-r--r--network/dnscrypt-wrapper/dnscrypt-wrapper.SlackBuild6
1 files changed, 5 insertions, 1 deletions
diff --git a/network/dnscrypt-wrapper/dnscrypt-wrapper.SlackBuild b/network/dnscrypt-wrapper/dnscrypt-wrapper.SlackBuild
index 384dc802ebcb..0e4079c0bcaa 100644
--- a/network/dnscrypt-wrapper/dnscrypt-wrapper.SlackBuild
+++ b/network/dnscrypt-wrapper/dnscrypt-wrapper.SlackBuild
@@ -60,7 +60,11 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/v$VERSION.tar.gz
+if [ -e $CWD/v$VERSION.tar.gz ]; then
+ tar xvf $CWD/v$VERSION.tar.gz
+else
+ tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+fi
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \