Commit 26337b5d authored by Vitaly Lipatov's avatar Vitaly Lipatov

epm repack: use --no-remove for install

parent 9ad64340
......@@ -281,7 +281,7 @@ install_requires()
{
[ -n "$1" ] || return
if [ "$(epm print info -s)" = "alt" ] ; then
epm install --skip-installed "$@"
epm install --skip-installed --no-remove "$@" || fatal "Can't install requires packages."
fi
}
......
......@@ -22,7 +22,8 @@ for i in .$PRODUCTDIR/lib* .$PRODUCTDIR/$PRODUCT ; do
done
fi
epm install --skip-installed libmfx || epm install 316139 || fatal "Can't install libmfx"
# https://git.altlinux.org/tasks/316139
epm install --skip-installed --no-remove libmfx || epm install --no-remove 316139 || fatal "Can't install libmfx"
# if not Debian based
if [ ! -s /etc/ssl/certs/ca-certificates.crt ] ; then
......
......@@ -16,7 +16,7 @@ subst '10iProvides: yandex-browser = %{version}' $SPEC
add_findreq_skiplist $PRODUCTDIR/update-ffmpeg
# this package can be missed
epm install --skip-installed fonts-ttf-google-noto-emoji-color && add_requires fonts-ttf-google-noto-emoji-color
epm install --skip-installed --no-remove fonts-ttf-google-noto-emoji-color && add_requires fonts-ttf-google-noto-emoji-color
set_alt_alternatives 65
......
......@@ -16,7 +16,7 @@ subst '10iProvides: yandex-browser = %version' $SPEC
add_findreq_skiplist $PRODUCTDIR/update-ffmpeg
# this package can be missed
epm install --skip-installed fonts-ttf-google-noto-emoji-color && add_requires fonts-ttf-google-noto-emoji-color
epm install --skip-installed --no-remove fonts-ttf-google-noto-emoji-color && add_requires fonts-ttf-google-noto-emoji-color
set_alt_alternatives 65
......
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