Remove unnecessary sed command in install.sh script

This commit is contained in:
Andras Bacsai 2024-04-09 12:28:05 +02:00
parent ee5a2b3c38
commit 4d78ac4789

View File

@ -23,7 +23,7 @@ if [ "$OS_TYPE" = 'amzn' ]; then
dnf install -y findutils >/dev/null 2>&1
fi
LATEST_VERSION=$(curl --silent $CDN/versions.json | grep -i version | sed -n '2p' | xargs | awk '{print $2}' | tr -d ',')
LATEST_VERSION=$(curl --silent $CDN/versions.json | grep -i version | xargs | awk '{print $2}' | tr -d ',')
DATE=$(date +"%Y%m%d-%H%M%S")
if [ $EUID != 0 ]; then