Re: Proposal: Increasing application icon sizes to 64px

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Kalev Lember <kalevlember@xxxxxxxxx> 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

Attachment: signature.asc
Description: PGP signature

-- 
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/devel
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Users]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]

  Powered by Linux