git://git.nikiroo.be
/
gofetch.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix layout issues in getContent() text
[gofetch.git]
/
gopher.sh
diff --git
a/gopher.sh
b/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