Commit 1383cca0 authored by Vitaly Lipatov's avatar Vitaly Lipatov

update_versions.sh: real skip gitlab-runner on deb systems

parent 984c066b
...@@ -41,7 +41,6 @@ install_app_alt() ...@@ -41,7 +41,6 @@ install_app_alt()
{ {
local app="$1" local app="$1"
local productalt="$($EPM play --product-alternatives $app)" local productalt="$($EPM play --product-alternatives $app)"
local distr="$($EPM print info -s)"
if [ -z "$productalt" ] ; then if [ -z "$productalt" ] ; then
install_app $app install_app $app
...@@ -50,8 +49,6 @@ install_app_alt() ...@@ -50,8 +49,6 @@ install_app_alt()
# оставляем дефолтный вариант в конце в системе # оставляем дефолтный вариант в конце в системе
for i in $productalt "" ; do for i in $productalt "" ; do
# hack for broken gitlab-runner
[ "$distr" != "alt" ] && [ "$i" = "gitlab-runner" ] && continue
$EPM play --remove --auto $app $EPM play --remove --auto $app
install_app $app $i install_app $app $i
done done
...@@ -62,8 +59,11 @@ if [ -n "$1" ] ; then ...@@ -62,8 +59,11 @@ if [ -n "$1" ] ; then
exit exit
fi fi
distr="$($EPM print info -s)"
# install/update all # install/update all
$EPM play --list-all --short | while read app ; do $EPM play --list-all --short | while read app ; do
# hack for broken gitlab-runner
[ "$distr" != "alt" ] && [ "$app" = "gitlab-runner" ] && continue
install_app_alt $app </dev/null install_app_alt $app </dev/null
done done
......
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