Merge branch 'master' of github.com:nikiroo/gofetch
authorNiki Roo <niki@nikiroo.be>
Tue, 17 Apr 2018 16:51:00 +0000 (16:51 +0000)
committerNiki Roo <niki@nikiroo.be>
Tue, 17 Apr 2018 16:51:00 +0000 (16:51 +0000)
gopher.sh

index ca458b0bcf1f41b46dbea38ec88c4e017fd0a3a2..5d7439f82955a160c904379315aebfc34884bed1 100755 (executable)
--- a/gopher.sh
+++ b/gopher.sh
@@ -50,8 +50,8 @@ PORT="`echo "$PORT" | sed 's/^://'`"
 # Defaults:
 if [ "$PORT" = "" ];then
        case "$PROTOCOL" in
-       http)  PORT=80 ;;
-       https) PORT=443;;
+       http://)  PORT=80 ;;
+       https://) PORT=443;;
        *)     PORT=70 ;;
        esac
 fi