940846 install: small refactor to combine two function calls into one function

1 file Authored by Ruixin Bao 4 years ago, Committed by Packit Service 4 years ago,
    install: small refactor to combine two function calls into one function
    
    Combine consecutive function calls of install_info_discover and
    install_info_may_process into one short helper function.
    
    (cherry picked from commit 1e475a0ab4c46eb07f3df3fb24f5a7c3e1fa20b1)
    
    Related: #1812972
    
    patch_name: 0488-install-small-refactor-to-combine-two-function-calls.patch
    present_in_specfile: true
    location_in_specfile: 488
    squash_commits: true
    
        
file modified
+30 -31