Merge pull request #115 from kubetz/linkhandler

Linkhandler always exiting before case statement
This commit is contained in:
Luke Smith 2018-09-15 23:49:44 -04:00 committed by GitHub
commit bef4105562

View file

@ -10,7 +10,7 @@
scihub="http://sci-hub.tw/"
# If no url given. Opens browser. For using script as $BROWSER.
[ -z "$1" ] && "$TRUEBROWSER" ; exit
[ -z "$1" ] && { "$TRUEBROWSER"; exit; }
case "$1" in
*mkv|*webm|*mp4|*gif|*youtube.com*|*hooktube.com*)