The script fixes the error "files list file for package 'xyz' is missing final newline" while updating through ubuntu's (or probably other distributions) update manager.