X-Git-Url: http://git.nikiroo.be/?p=gofetch.git;a=blobdiff_plain;f=gopher.sh;h=5d7439f82955a160c904379315aebfc34884bed1;hp=ca458b0bcf1f41b46dbea38ec88c4e017fd0a3a2;hb=c8ecd42c0723073f5ff618a9efa9636e844c271d;hpb=4b2acf064410135a9231b6935fdab642a2fe246d diff --git a/gopher.sh b/gopher.sh index ca458b0..5d7439f 100755 --- 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