-
Notifications
You must be signed in to change notification settings - Fork 2
PF24
ᴀɴᴛᴏɴ ɴᴏᴠᴏᴊɪʟᴏᴠ edited this page Jun 23, 2024
·
5 revisions
Checks for empty evaluated shell if
clauses.
if [[ $1 -ge 1 ]] ; then
%if 0%{?rhel} >= 7
%{__systemctl} daemon-reload &>/dev/null || :
%endif
fi
%if 0%{?rhel} >= 7
if [[ $1 -ge 1 ]] ; then
%{__systemctl} daemon-reload &>/dev/null || :
fi
%endif
If a conditional macro test is unsuccessful, we will get an empty shell if clause.