Mercurial > hg > forks > geeqie
view geeqie.desktop.in @ 2901:ce889887354f
Avoid non-portable == for the test command
The test command doesn't accept `==` as operator. It should be a single `=` for portable use. The `==` is a gnu extension.
Note that the x-trick hasn't been needed for a long, long time. You can reliably write it with quotes:
```
if test "$gtk3" = yes; then
```
but I left that alone since it doesn't hurt other than being ugly.
author | Rhialto The M <Rhialto@users.noreply.github.com> |
---|---|
date | Sat, 06 Oct 2018 18:26:43 +0200 |
parents | 7ebdebe64f75 |
children |
line wrap: on
line source
[Desktop Entry] _Name=Geeqie _GenericName=Image Viewer _Comment=View and manage images Exec=geeqie -r %F Icon=geeqie Type=Application Terminal=false # Startup notification disabled, since the remote -r switch may not open a new window... #StartupNotify=false #StartupWMClass=geeqie NotShowIn=X-Geeqie; Categories=Graphics;Viewer; MimeType=application/x-navi-animation;image/bmp;image/x-bmp;image/x-MS-bmp;image/gif;image/x-icon;image/jpeg;image/png;image/x-portable-anymap;image/x-portable-bitmap;image/x-portable-graymap;image/x-portable-pixmap;image/x-tga;image/tiff;image/x-xbitmap;image/x-xpixmap;image/svg;image/svg+xml;image/x-png;image/xpm;image/x-ico;