install.sh: Use built-in shell functionality instead of awk
install.sh: Use built-in shell functionality instead of awk

If install.sh relies on awk, install.sh malfunctions when run on a
device with a limited environment where awk is not available. This patch
replaces the use of awk with built-in shell script functionality.

Change-Id: I071d9f565ff7ef38445a6dd0ea9692b903721601
Signed-off-by: Joakim Roubert <e2b2281028c0b88d06179b6136248733ddd134cb@axis.com>

rancher/k3s,rancher/k3s