19cbec2 Ticket #48305 - perl module conditional test is not conditional when checking SELinux policies

Authored and Committed by nhosoi 3 years ago
    Ticket #48305 - perl module conditional test is not conditional when checking SELinux policies
    
    Description: commit 9fefc13c02c9ae037fad053152193794706aaa31 introduced
    a regression:
      Bug 1287547 - 389-ds-base-1.3.4.5-1.fc23.x86_64 leaves empty /NUL around
                    after ipa-server-install
    
    To check the existence of a character special file "/dev/null", "-c" is
    supposed to be used instead of "-f".
    
    Reviewed by mreynolds@redhat.com (Thank you, Mark!!)
    
    https://fedorahosted.org/389/ticket/48305
    (cherry picked from commit c4233ec14a82d1d4c0c71915be40913259d417fa)
    (cherry picked from commit 48308f34269ed37712f21b59665f5df5e42b9fd9)
    (cherry picked from commit aab7eda643fe4adae7c180e8cf750c06c696f8b6)
    (cherry picked from commit aa596775228be085f92e69a8d928f5692b47857f)