Commit f16c329d authored by Vitaly Lipatov's avatar Vitaly Lipatov

epm play chromium-gost and yandex-browser: fix checking for the package from repo

parent 17d7a462
......@@ -7,8 +7,7 @@ DESCRIPTION="Chromium with GOST support from the official site"
. $(dirname $0)/common.sh
# TODO: use get_pkgvendor = "ALT Linux Team"
if epm installed chromium-gost ; then
if epm installed chromium-gost && [ "$(get_pkgvendor chromium-gost)" = "ALT Linux Team" ] ; then
echo "Package chromium-gost is already installed from ALT repository."
exit 0
fi
......
......@@ -16,7 +16,7 @@ SUPPORTEDARCHES="x86_64"
. $(dirname $0)/common.sh
if epm installed $PKGNAME && [ "$(get_pkgvendor $PKGNAME)" = "YANDEX LLC" ] ; then
if [ "$(epm print field Vendor for package $PKGNAME)" = "Yandex Browser Team <browser@support.yandex.ru>" ] ; then
if [ "$(epm print field Packager for package $PKGNAME)" = "Yandex Browser Team <browser@support.yandex.ru>" ] ; then
echo "Package $PKGNAME is already installed manually from https://browser.yandex.ru/."
else
echo "Package $PKGNAME is already installed from ALT repository."
......
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