[CentOS] Helper variables like %{rhel} on CentOS

m.roth at 5-cent.us m.roth at 5-cent.us
Thu Jan 6 14:29:50 UTC 2011


Nico Kadel-Garcia wrote:
> On Thu, Jan 6, 2011 at 3:34 AM, Akemi Yagi <amyagi at gmail.com> wrote:
>> On Wed, Jan 5, 2011 at 9:06 PM, Nico Kadel-Garcia <nkadel at gmail.com>
>> wrote:
>>> On Wed, Jan 5, 2011 at 2:05 PM, Akemi Yagi <amyagi at gmail.com> wrote:
>>
>>>> %rhel           0%(/bin/rpm -q -f /etc/redhat-release --qf
>>>> '%{VERSION}\n' )
>>>
>>> Gahhh. Proportional fonts in this mail interfaces. We hates it, yes,
>>> we hates it!!!!

Into Mount Doom with HTML email!
>>>
>>> Good catch, though. But why use '%{VERSION}' when '%{version}' will
>>> serve?
>>
>> Well then, you can save even more ...  '%{v}'
>>
>> :-)
>
> I'd prefer not to "save" myself out of legibility.....

What, there's no Obfuscaed Kickstart competition?

          mark




More information about the CentOS mailing list