tModern mpv knows gopher. Keep the comment. - plumber - Plumber – a modern approach to plumbing
 (HTM) git clone git://r-36.net/plumber
 (DIR) Log
 (DIR) Files
 (DIR) Refs
 (DIR) LICENSE
       ---
 (DIR) commit 93e82c30f35663789c1fc66ae4754909a6e8ddff
 (DIR) parent a961e969ebce4cadc4fd176b1ea66acee7cd23c2
 (HTM) Author: Christoph Lohmann <20h@r-36.net>
       Date:   Thu, 31 Dec 2020 14:16:52 +0100
       
       Modern mpv knows gopher. Keep the comment.
       
       Diffstat:
         openers/mediaopener                 |      16 +++++++++-------
       
       1 file changed, 9 insertions(+), 7 deletions(-)
       ---
 (DIR) diff --git a/openers/mediaopener b/openers/mediaopener
       t@@ -6,10 +6,12 @@ then
                exit 1
        fi
        
       -## mpv doesn't understand gopher ##
       -if [ $(expr "$1" : "^gopher://") -eq 9 ];
       -then
       -    $XTERM -e sh -c "curl -s \"$1\" | mpv -" &
       -else
       -    $XTERM -e sh -c "mpv \"$1\"" &
       -fi
       +$XTERM -e sh -c "mpv \"$1\"" &
       +
       +## if mpv doesn't understand gopher ##
       +#if [ $(expr "$1" : "^gopher://") -eq 9 ];
       +#then
       +#    $XTERM -e sh -c "curl -s \"$1\" | mpv -" &
       +#else
       +#    $XTERM -e sh -c "mpv \"$1\"" &
       +#fi