Open MiguelNdeCarvalho opened 3 years ago
VERSION=$(echo -e ${PAGE} | grep "LATEST RECOMMENDED" -B1 | grep -Eo 'href=".*/*.tar.xz"' | grep -Eo '".*"' | s ed 's/\\"//g' | sed 's/\.\///1')
^^
https://github.com/jorgectf/fivem-docker/blob/master/fxserver/Dockerfile#L6
VERSION=$(echo -e ${PAGE} | grep "LATEST RECOMMENDED" -B1 | grep -Eo 'href=".*/*.tar.xz"' | grep -Eo '".*"' | s ed 's/\\"//g' | sed 's/\.\///1')