mirror of
https://github.com/rocky-linux/rocky-tools.git
synced 2024-06-02 19:00:16 +00:00
migrate2rocky: use $convert_info_dir consistently
We set convert_info_dir=/root/convert. Use it consistently.
This commit is contained in:
parent
68c77adbb3
commit
fc137590b5
|
@ -785,7 +785,7 @@ usage() {
|
|||
} >&2
|
||||
|
||||
generate_rpm_info() {
|
||||
mkdir /root/convert
|
||||
mkdir "$convert_info_dir"
|
||||
infomsg "Creating a list of RPMs installed: $1"$'\n'
|
||||
# shellcheck disable=SC2140
|
||||
rpm -qa --qf \
|
||||
|
@ -1185,7 +1185,7 @@ fi
|
|||
if [[ $verify_all_rpms && $convert_to_rocky ]]; then
|
||||
generate_rpm_info finish
|
||||
infomsg $'You may review the following files:\n'
|
||||
find /root/convert -type f -name "$HOSTNAME-rpms-*.log"
|
||||
find "$convert_info_dir" -type f -name "$HOSTNAME-rpms-*.log"
|
||||
fi
|
||||
|
||||
if [[ $update_efi && $convert_to_rocky ]]; then
|
||||
|
|
Loading…
Reference in New Issue
Block a user