On Mon, 2012-01-23 at 21:24 +0000, Sérgio Basto wrote:
Hi,
from here
http://fedoraproject.org/wiki/Packaging:ScriptletSnippets#Icon_Cache
I see
/usr/bin/update-desktop-database &> /dev/null || :
what does mean this part of the code "|| :" ?
|| is logical-OR with optimization (i.e., iff the first command fails,
do the second). : is the null command. Therefore, this command always
returns a success error code (zero), and so an error with
update-desktop-database does not terminate the RPM transaction with an
error message.
-Chris