<listitem><para><varname>ConditionKernelVersion=</varname> may be used to check whether the kernel
version (as reported by <command>uname -r</command>) matches a certain expression (or if prefixed
with the exclamation mark does not match it). The argument must be a list of (potentially quoted)
- expressions. Each expression starts with one of <literal><</literal>, <literal><=</literal>,
- <literal>=</literal> (or <literal>==</literal>), <literal>!=</literal> (or
- <literal><></literal>), <literal>>=</literal>, <literal>></literal> for a relative
+ expressions. Each expression starts with one of <literal>=</literal> or <literal>!=</literal> for
+ string comparisons, <literal><</literal>, <literal><=</literal>, <literal>==</literal>,
+ <literal><></literal>, <literal>>=</literal>, <literal>></literal> for a relative
version comparison, or <literal>=$</literal>, <literal>!=$</literal> for a shell-style glob
match. If no operator is specified <literal>=$</literal> is implied.</para>
break;
s = strstrip(word);
- operator = parse_compare_operator(&s, COMPARE_ALLOW_FNMATCH);
+ operator = parse_compare_operator(&s, COMPARE_ALLOW_FNMATCH|COMPARE_EQUAL_BY_STRING);
if (operator < 0) /* No prefix? Then treat as glob string */
operator = COMPARE_FNMATCH_EQUAL;