Don't depend on a Fedora version test here, use httpd-core if the
package is present.
This commit is contained in:
parent
6b235279e3
commit
b8ffdae65c
1 changed files with 1 additions and 1 deletions
|
|
@ -41,7 +41,7 @@ rlJournalStart
|
|||
|
||||
rlPhaseStartTest
|
||||
# https://src.fedoraproject.org/rpms/httpd/pull-request/25
|
||||
if rlIsFedora '>=36'; then
|
||||
if rpm -q httpd-core >& /dev/null; then
|
||||
rlRun "ls -d -Z \$(rpm -ql httpd-core) > files_context.log"\
|
||||
0 "getting selinux context of rpm's files (httpd-core)"
|
||||
else
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue