|
|
else | else |
set_trap "$LIST.4_packages*" | set_trap "$LIST.4_packages*" |
rm -f $LIST.4* | rm -f $LIST.4* |
|
cat "$LIST.3_rebuild" | sort | uniq > $LIST.3_rebuild_uniq |
while read obj target_file; do | while read obj target_file; do |
EXACT_PKG=$(get_file_owner $target_file) | EXACT_PKG=$(get_file_owner $target_file) |
if [[ $EXACT_PKG ]]; then | if [[ $EXACT_PKG ]]; then |
|
|
echo "$target_file -> (none)" >> $LIST.4_package_owners | echo "$target_file -> (none)" >> $LIST.4_package_owners |
echo_v " $target_file -> (none)" | echo_v " $target_file -> (none)" |
fi | fi |
done < "$LIST.3_rebuild" |
done < "$LIST.3_rebuild_uniq" |
einfo "Generated new $LIST.4_packages_raw and $LIST.4_package_owners" | einfo "Generated new $LIST.4_packages_raw and $LIST.4_package_owners" |
fi | fi |
# if we find '(none)' on every line, exit out | # if we find '(none)' on every line, exit out |