Commit d8e2c301 authored by Vitaly Lipatov's avatar Vitaly Lipatov

epm play: add check for origin of install repo for all targets

parent a1459142
......@@ -2,13 +2,12 @@
# filename does not contain -stable, but package name with -stable
PKGNAME=chromium-gost-stable
REPOPKGNAME=chromium-gost
SUPPORTEDARCHES="x86_64"
DESCRIPTION="Chromium with GOST support from the official site"
. $(dirname $0)/common.sh
is_repacked_package chromium-gost || exit 0
#arch=$(epm print info --distro-arch)
#pkgtype=$(epm print info -p)
arch=amd64
......
......@@ -6,8 +6,6 @@ DESCRIPTION="Codium from the official site"
. $(dirname $0)/common.sh
is_repacked_package || exit 0
VERSION="$2"
arch="$(epm print info -a)"
......
......@@ -197,3 +197,5 @@ is_repacked_package()
return 0
}
# skip install if there is package installed not via epm play
is_repacked_package $REPOPKGNAME || exit 0
......@@ -22,8 +22,6 @@ fi
. $(dirname $0)/common.sh
is_repacked_package || exit 0
arch="$(epm print info -a)"
case "$arch" in
......
#!/bin/sh
PKGNAME=Pencil
REPOPKGNAME=pencil
SUPPORTEDARCHES="x86_64 x86"
DESCRIPTION="Pencil from the official site"
URL="https://pencil.evolus.vn/"
. $(dirname $0)/common.sh
is_repacked_package pencil || exit 0
arch=$(epm print info --distro-arch)
case $arch in
x86_64|amd64)
......
......@@ -10,8 +10,6 @@ epm installed $REPOPKGNAME && PKGNAME=$REPOPKGNAME
. $(dirname $0)/common.sh
is_repacked_package $REPOPKGNAME || exit 0
res=0
if ! epm install $REPOPKGNAME ; then
PKGURL="https://cdn.akamai.steamstatic.com/client/installer/steam.deb"
......
......@@ -15,8 +15,6 @@ SUPPORTEDARCHES="x86_64"
. $(dirname $0)/common.sh
is_repacked_package || exit 0
# See also https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=yandex-browser-beta
URL="https://repo.yandex.ru/yandex-browser"
......
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