Quote to prevent splitting

This commit is contained in:
Amin Vakil 2022-01-10 17:38:02 +03:30
parent 3c32595b23
commit f1fa925a74
No known key found for this signature in database
GPG Key ID: 1EFC1864E9D9E56B
1 changed files with 3 additions and 3 deletions

View File

@ -665,10 +665,10 @@ $'because continuing with the migration could cause further damage to system.'
then
# System package that needs to be swapped / disabled
installed_pkg_map[$p]=
installed_sys_stream_repos_pkgs+=( ${stream_repos_pkgs[$p]} )
installed_sys_stream_repos_pkgs+=( "${stream_repos_pkgs[$p]}" )
elif rpm --quiet -q "${stream_repos_pkgs[$p]}"; then
# Non-system package, repos just need to be disabled.
installed_stream_repos_pkgs+=( ${stream_repos_pkgs[$p]} )
installed_stream_repos_pkgs+=( "${stream_repos_pkgs[$p]}" )
fi
done
@ -735,7 +735,7 @@ $'because continuing with the migration could cause further damage to system.'
mod=${mod/$gl/$repl}
done
if [[ $mod != "${enabled_modules[$i]}" ]]; then
disable_modules+=(${enabled_modules[$i]})
disable_modules+=("${enabled_modules[$i]}")
enabled_modules[$i]=$mod
fi
done