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