Commit f5b8d62d authored by Vitaly Lipatov's avatar Vitaly Lipatov

don't expand package names on ROSA

parent dc67b1aa
...@@ -40,6 +40,8 @@ exp_with_arch_suffix() ...@@ -40,6 +40,8 @@ exp_with_arch_suffix()
local suffix local suffix
[ "$($DISTRVENDOR -a)" = "x86_64" ] || { cat ; return ; } [ "$($DISTRVENDOR -a)" = "x86_64" ] || { cat ; return ; }
[ "$DISTRNAME" = "ROSA" ] && { cat ; return ; }
# TODO: it is ok for ALT rpm to remove with this suffix # TODO: it is ok for ALT rpm to remove with this suffix
# TODO: separate install and remove? # TODO: separate install and remove?
case $PMTYPE in case $PMTYPE in
......
...@@ -33,7 +33,7 @@ filter_out_installed_packages() ...@@ -33,7 +33,7 @@ filter_out_installed_packages()
case $PMTYPE in case $PMTYPE in
yum-rpm|dnf-rpm) yum-rpm|dnf-rpm)
if [ "$($DISTRVENDOR -a)" = "x86_64" ] ; then if [ "$($DISTRVENDOR -a)" = "x86_64" ] && [ "$DISTRNAME" != "ROSA" ] ; then
# shellcheck disable=SC2013 # shellcheck disable=SC2013
for i in $(cat) ; do for i in $(cat) ; do
is_installed "$(__print_with_arch_suffix $i .x86_64)" && continue is_installed "$(__print_with_arch_suffix $i .x86_64)" && continue
......
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