Commit f102703e authored by Vitaly Lipatov's avatar Vitaly Lipatov

epm play assistant: drop unused OPKG

parent c897f745
...@@ -28,17 +28,12 @@ url_by_order() ...@@ -28,17 +28,12 @@ url_by_order()
echo "https://мойассистент.рф$(cat $tmpfile | grep "/Download/" | $order -n1 | sed -e 's|.*href="||' -e 's|".*||')" echo "https://мойассистент.рф$(cat $tmpfile | grep "/Download/" | $order -n1 | sed -e 's|.*href="||' -e 's|".*||')"
} }
version=$(cat $tmpfile | grep -A1 "Версия:" | tail -n1 | sed -e 's|.*<span class="v">||' -e 's| .*||')
[ -n "$version" ] || fatal "Can't get package version"
case $arch-$pkg in case $arch-$pkg in
x86_64-rpm) x86_64-rpm)
URL="$(url_by_order head)" URL="$(url_by_order head)"
OPKG=assistant-$version-0.x86_64.rpm
;; ;;
x86_64-deb) x86_64-deb)
URL="$(url_by_order tail)" URL="$(url_by_order tail)"
OPKG=assistant_$version-0_amd64.deb
;; ;;
*) *)
fatal "$($DISTRVENDOR -e) is not supported (arch $arch, package type is $pkg)" fatal "$($DISTRVENDOR -e) is not supported (arch $arch, package type is $pkg)"
......
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