diff options
author | David Spencer <baildon.research@googlemail.com> | 2013-11-24 11:14:32 +0000 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2013-11-24 19:23:46 +0700 |
commit | 7996b0b9f29f28d9addc92d646e38cbccfdd4cb5 (patch) | |
tree | bfcbad1cab55f1b3cc48fb5bca4f3ee318a2f408 /network | |
parent | 8f5cfc820da492e50b780fa12d4543dab6225f7c (diff) |
network/dnscrypt-wrapper: Fixed for github tarball.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'network')
-rw-r--r-- | network/dnscrypt-wrapper/dnscrypt-wrapper.SlackBuild | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/network/dnscrypt-wrapper/dnscrypt-wrapper.SlackBuild b/network/dnscrypt-wrapper/dnscrypt-wrapper.SlackBuild index 384dc802ebcb9..0e4079c0bcaac 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 . \ |