aboutsummaryrefslogtreecommitdiff
path: root/network/youtube-dl/youtube-dl.SlackBuild
diff options
context:
space:
mode:
authorDimitris Zlatanidis <d.zlatanidis@gmail.com>2017-06-18 09:00:14 +0200
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2017-06-24 08:33:01 +0700
commit73951e33711264f50643d5ca1b12cc442e3002b6 (patch)
tree8fbc12941679c4a638a02d8c3ce4fe6fe129edb6 /network/youtube-dl/youtube-dl.SlackBuild
parent564318258a06f5bac5a528ea8bb5d4516c62cb13 (diff)
network/youtube-dl: Updated for version 2017.06.18.
Signed-off-by: Dimitris Zlatanidis <d.zlatanidis@gmail.com>
Diffstat (limited to 'network/youtube-dl/youtube-dl.SlackBuild')
-rw-r--r--network/youtube-dl/youtube-dl.SlackBuild5
1 files changed, 3 insertions, 2 deletions
diff --git a/network/youtube-dl/youtube-dl.SlackBuild b/network/youtube-dl/youtube-dl.SlackBuild
index bf111b31c8227..0e5f7c391e242 100644
--- a/network/youtube-dl/youtube-dl.SlackBuild
+++ b/network/youtube-dl/youtube-dl.SlackBuild
@@ -24,7 +24,8 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=youtube-dl
-VERSION=${VERSION:-2017.06.05}
+SRCNAM=$(echo $PRGNAM | tr - _)
+VERSION=${VERSION:-2017.06.18}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -61,7 +62,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.gz || tar xvf $CWD/$VERSION.tar.gz
+tar xvf $CWD/$SRCNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \