Commit be7f7ce4 authored by Vitaly Lipatov's avatar Vitaly Lipatov

epm play virtualhere: fix version retrieving

parent 46b8366c
......@@ -59,7 +59,7 @@ pack_tar() {
# FIXME
VERSION="*"
if [ "$VERSION" = "*" ] ; then
VERSION="$(epm tool eget -O- https://virtualhere.com/usb_server_software | grep "<b>Version [0-9.]*</b>" | sed -e 's|.*<b>Version \([0-9.]*\)</b>.*|\1|')"
VERSION="$(epm tool eget -O- https://virtualhere.com/usb_server_software | grep "<strong>Version" | sed -e 's|.*<strong>Version ||' -e 's|</strong>.*||')"
[ -n "$VERSION" ] || fatal "Can't get version for $PKGNAME"
fi
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment