Merge branch 'master' of github.com:nikiroo/gofetch
[gofetch.git] / 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