Commit a9e6d1d6 authored by Boris Yumankulov's avatar Boris Yumankulov Committed by Vitaly Lipatov

epm play: dont update packages from RedOS repository

parent 7e76372f
......@@ -283,13 +283,15 @@ is_repacked_package()
epm status --installed $pkg || return 0
# actually only for ALT
[ "$(epm print info -s)" = "alt" ] || return 0
# actually only for ALT and RedOS
if [ "$(epm print info -s)" != "alt" ] && [ "$(epm print info -s)" != "redos" ] ; then
return 0
fi
[ -n "$force" ] && return 0
if epm status --original $pkg ; then
echo "Package $pkg is already installed from ALT repository (use --force to override it)."
echo "Package $pkg is already installed from repository (use --force to override it)."
return 1
fi
......
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