X-Git-Url: http://git.nikiroo.be/?p=gofetch.git;a=blobdiff_plain;f=gopher.sh;h=26f5854186661a79f3a7f2df950dc11e718108a6;hp=4fd277bc2cc3b551ddab79945463cff32f28af00;hb=8adaaf0f638121f0d8a0d63b67353ccec2d2ee29;hpb=4e5b044863a8371aa4f67d1ea9152292a15cc0ad diff --git a/gopher.sh b/gopher.sh index 4fd277b..26f5854 100755 --- a/gopher.sh +++ b/gopher.sh @@ -54,8 +54,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