Proposal: Increasing application icon sizes to 64px

Björn Persson bjorn at xn--rombobjrn-67a.se
Wed Oct 1 13:07:14 UTC 2014


Kalev Lember <kalevlember at gmail.com> wrote:
> # If no desktop files are installed, return immediately
> if ! ls -A "$RPM_BUILD_ROOT"/usr/share/applications/ 2>/dev/null; then
>       exit 0
> fi

That tests whether the directory exists, not whether it contains
desktop files. If that's what you want, then
«if [ -d "$RPM_BUILD_ROOT"/usr/share/applications/ ]; then» would be
much less confusing code.

Björn Persson
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.fedoraproject.org/pipermail/devel/attachments/20141001/4bed9728/attachment.sig>


More information about the devel mailing list