git://git.nikiroo.be
/
gofetch.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(from parent 1:
4b2acf0
)
Merge branch 'master' of github.com:nikiroo/gofetch
author
Niki Roo
<niki@nikiroo.be>
Tue, 17 Apr 2018 16:51:00 +0000
(16:51 +0000)
committer
Niki Roo
<niki@nikiroo.be>
Tue, 17 Apr 2018 16:51:00 +0000
(16:51 +0000)
gopher.sh
patch
|
blob
|
blame
|
history
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