Update 'indexparser.sh'
This commit is contained in:
parent
680d83c8f9
commit
d8273a544c
|
@ -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*
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue