mirror of
https://github.com/rocky-linux/rocky-tools.git
synced 2024-06-02 19:00:16 +00:00
migrate2rocky: fix listing of rpm info files
When the conversion completes, the script prints: You may review the following files: However, there are no files displayed because the find pattern does not match what `generate_rpm_info()` writes. It looks for '*-rpms-*' while the files are named '*-rpm-list-*' instead. Fix the file pattern used. While here, replace the use of `find` with a simpler `printf` to achieve the same result.
This commit is contained in:
parent
d77da34ca0
commit
c0d7132285
|
@ -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 "$convert_info_dir" -type f -name "$HOSTNAME-rpms-*.log"
|
||||
printf '%s\n' "$convert_info_dir/$HOSTNAME-rpm-list-"*.log
|
||||
fi
|
||||
|
||||
if [[ $update_efi && $convert_to_rocky ]]; then
|
||||
|
|
Loading…
Reference in New Issue
Block a user