-
Notifications
You must be signed in to change notification settings - Fork 2
PF27
ᴀɴᴛᴏɴ ɴᴏᴠᴏᴊɪʟᴏᴠ edited this page Jun 23, 2024
·
3 revisions
Checks for unclosed if conditions in scriptlets.
%postun
if [[ $1 -ge 1 ]] ; then
%{__sysctl} daemon-reload &>/dev/null || :%postun
if [[ $1 -ge 1 ]] ; then
%{__sysctl} daemon-reload &>/dev/null || :
fiNeither rpmlint nor rpmbuild does not check bash syntax in scriptlets. So it is possible to build a package with unclosed if condition inside scriptlets.