Update 'indexparser.sh'

This commit is contained in:
NaiJi ✨ 2022-04-14 13:58:26 +00:00
parent 680d83c8f9
commit d8273a544c
1 changed files with 1 additions and 0 deletions

View File

@ -19,6 +19,7 @@ yes Y | apt upgrade
wget http://storage-url/package-name/dev/ wget http://storage-url/package-name/dev/
recent_develop="$(cat index.html | tail -n 3 | head -n 1 | cut -f 2 -d '>' | cut -f 1 -d '<' | cut -f 1 -d '/')" recent_develop="$(cat index.html | tail -n 3 | head -n 1 | cut -f 2 -d '>' | cut -f 1 -d '<' | cut -f 1 -d '/')"
echo "Actual dev version: $recent_develop" echo "Actual dev version: $recent_develop"
rm *index*