Commit c8a54a7c authored by Vitaly Lipatov's avatar Vitaly Lipatov

epm play ktalk: rename to correct name

parent 5404782b
......@@ -19,10 +19,13 @@ URL="https://app.ktalk.ru/system/dist/download/linux"
# curl can't get filename: https://github.com/curl/curl/issues/8461
epm assure wget || fatal
# hack due ОШИБКА: невозможно проверить сертификат app.ktalk.ru, выпущенный «CN=RapidSSL TLS DV RSA Mixed SHA256 2020 CA-1,O=DigiCert Inc,C=US»
PKGDIR="$(mktemp -d)"
trap "rm -fr $PKGDIR" EXIT
cd $PKGDIR || fatal
epm tool eget --no-check-certificate "$URL" || fatal
cd_to_temp_dir
epm install *.AppImage
#epm tool eget --no-check-certificate "$URL" || fatal
epm tool eget "$URL" || fatal
# ktalk2.5 -> ktalk-2.5
newname="$(echo *.AppImage | sed -e "s|^ktalk2|$PKGNAME-2|" )"
mv -v *.AppImage $newname
epm install $newname
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