[Fedora-packaging] About iconsdir macro

Christopher Meng cickumqt at gmail.com
Wed Jun 12 10:34:03 UTC 2013


Hi,

Can we revise the current ScriptletSnippets page to suggest packagers
using this macro instead of "%{_datadir}/icons" ?

For example,

%post
/bin/touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :

can be:

%post
/bin/touch --no-create %{_iconsdir}/hicolor &>/dev/null || :

Shorter, right?

Thanks.

Yours sincerely,
Christopher Meng

Always playing in Fedora Project

http://cicku.me


More information about the packaging mailing list