From 0989ab3c9132dc52899be90951e9a281445d633e Mon Sep 17 00:00:00 2001 From: curben Date: Tue, 28 May 2019 10:24:04 +0930 Subject: [PATCH] fix: remove port number --- utils/prerequisites.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/utils/prerequisites.sh b/utils/prerequisites.sh index 98bf0097..1857df04 100644 --- a/utils/prerequisites.sh +++ b/utils/prerequisites.sh @@ -18,6 +18,8 @@ dos2unix | \ sed '/^#/ d' | \ # Remove http(s):// cut -f 3 -d '/' | \ +# Remove port number +cut -f 1 -d ':' | \ # Remove www # Only matches domains that start with www # Not examplewww.com