Commit 6abb9371 authored by Vitaly Lipatov's avatar Vitaly Lipatov

epm play: drop check_url_is_accessible using

parent e8af6a78
......@@ -18,10 +18,6 @@ pkg="$(epm print info -p)"
# some locale depend troubles (ALT with bash 4 needs LANG=ru_RU.UTF-8, Ubuntu with bash 5 needs LANG=C.UTF-8)
#URL="https://мойассистент.рф/скачать"
URL="https://xn--80akicokc0aablc.xn--p1ai/%D1%81%D0%BA%D0%B0%D1%87%D0%B0%D1%82%D1%8C"
if ! LANG=ru_RU.UTF8 check_url_is_accessible "$URL" ; then
epm tool eget -O- "$URL"
fatal "Please, check why $URL is not accessible"
fi
# parse vendor site
tmpfile=$(mktemp)
......
......@@ -36,7 +36,6 @@ is_supported_arch()
get_latest_version()
{
local epmver="$(epm --short --version)"
# TODO: use check_url_is_accessible with more short URL (domain?)
local URL="https://eepm.ru/releases/$epmver/app-versions"
if ! eget -q -O- "$URL/$1" ; then
URL="https://eepm.ru/app-versions"
......
......@@ -9,10 +9,6 @@ SUPPORTEDARCHES="x86_64"
. $(dirname $0)/common.sh
URL="https://sputnik-lab.com/api-updates/updates/apps/meta?channel=b2c-distrs-on-site"
if ! check_url_is_accessible "$URL" ; then
epm tool eget -O- "$URL"
fatal "Please, check why $URL is not accessible"
fi
url_by_id_content()
{
......
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