Browse Source

spec: use if-undefined instead of empty if-defined block

Follow-up for 68cbbae33a.
master
Yu Watanabe 7 years ago
parent
commit
965cacd43a
  1. 3
      dracut.spec

3
dracut.spec

@ -370,8 +370,7 @@ rm -rf -- $RPM_BUILD_ROOT @@ -370,8 +370,7 @@ rm -rf -- $RPM_BUILD_ROOT
%{_mandir}/man5/dracut.conf.5*
%endif

%if %{defined _unitdir}
%else
%if %{undefined _unitdir}
%{dracutlibdir}/modules.d/00bootchart
%endif
%{dracutlibdir}/modules.d/00bash

Loading…
Cancel
Save