diff options
author | Robby Workman <rworkman@slackbuilds.org> | 2021-05-02 21:27:03 -0500 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2021-05-02 21:27:03 -0500 |
commit | 37e656796cc7d5ccc625eaa3eec074a4194b0703 (patch) | |
tree | 2981ed08e3e36c3d49d0b3de8b3d3a800299ccab /network/youtube-dl/youtube-dl.SlackBuild | |
parent | 4bda304e1465e7613eab710ae0b502119b977183 (diff) |
network/youtube-dl: Updated for version 2021.04.26.
Diffstat (limited to 'network/youtube-dl/youtube-dl.SlackBuild')
-rw-r--r-- | network/youtube-dl/youtube-dl.SlackBuild | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/network/youtube-dl/youtube-dl.SlackBuild b/network/youtube-dl/youtube-dl.SlackBuild index 161b33d8ec15..45581b2947f0 100644 --- a/network/youtube-dl/youtube-dl.SlackBuild +++ b/network/youtube-dl/youtube-dl.SlackBuild @@ -24,7 +24,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=youtube-dl -VERSION=${VERSION:-2021.02.22} +VERSION=${VERSION:-2021.04.26} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -74,12 +74,8 @@ find -L . \ # setup.py patch patch -p1 < $CWD/setup.patch -python setup.py install --root=$PKG - -# Python 3 support. -if $(python3 -c 'import sys' 2>/dev/null); then - python3 setup.py install --root=$PKG -fi +python2 setup.py install --root=$PKG +python3 setup.py install --root=$PKG find $PKG/usr/man -type f -exec gzip -9 {} \; for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done |