Skip to content

Commit

Permalink
v2.5
Browse files Browse the repository at this point in the history
  • Loading branch information
DocDrydenn committed Jan 24, 2022
1 parent 206dd51 commit cdd3ba8
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions omsa_install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,8 @@ PHASE="Version-Build_Selection"
phaseheader $PHASE
sleep 1
#===========================================================================================================================================
echo "Parsing Dell website for available versions..."
echo "Parsing for available versions."
echo "(this can take up to 30 seconds)"
echo
# Parse RAW Dell Website
IFS=$'\n' read -r -d '' -a RAW_VERSION_ARRAY < <( wget -q $URL -O - | tr "\t\r\n'" ' "' | grep -i -o '<a[^>]\+href[ ]*=[ \t]*"[^"]\+">[^<]*</a>' | sed -e 's/^.*"\([^"]\+\)".*$/\1/g' && printf '\0' )
Expand All @@ -200,7 +201,8 @@ done
createmenu_version "${VERSION_ARRAY[@]}"

echo
echo "Parsing Dell website for available builds..."
echo "Parsing for available builds..."
echo "(this can take up to 30 seconds)"
echo
# Parse RAW Builds
IFS=$'\n' read -r -d '' -a RAW_BUILD_ARRAY < <( wget -q $USR_VER_URL -O - | tr "\t\r\n'" ' "' | grep -i -o '<a[^>]\+href[ ]*=[ \t]*"[^"]\+">[^<]*</a>' | sed -e 's/^.*"\([^"]\+\)".*$/\1/g' && printf '\0' )
Expand Down

0 comments on commit cdd3ba8

Please sign in to comment.