Commit 6136f104 authored by Vitaly Lipatov's avatar Vitaly Lipatov

epm play kubo: add check for repo version of the package

parent 55eb0265
......@@ -6,6 +6,7 @@ SUPPORTEDARCHES="x86_64 x86 aarch64 armhf"
BASEPKGNAME=kubo
PRODUCTALT="stable beta"
# kubo or kubo-beta
if [ "$2" = "beta" ] || epm installed $BASEPKGNAME-beta ; then
PKGNAME=$BASEPKGNAME-beta
......@@ -21,6 +22,11 @@ fi
. $(dirname $0)/common.sh
if epm installed $PKGNAME && [ "$(get_pkgvendor $PKGNAME)" = "ALT Linux Team" ] ; then
echo "Package $PKGNAME is already installed from ALT repository."
exit 0
fi
arch="$(epm print info -a)"
case "$arch" in
x86_64)
......
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