svn commit: r378670 - in head/editors/sublime3: . files

Jan Beich jbeich at vfemail.net
Sun Feb 8 20:09:12 UTC 2015


Kurt Jaeger <pi at FreeBSD.org> writes:

> Log:
>   editors/sublime3: patch .desktop file and add check for /dev/shm link
[...]
> +--- sublime_text.desktop.orig	2014-08-27 
> ++++ sublime_text.desktop	
> +@@ -4,20 +4,9 @@
> + Name=Sublime Text
> + GenericName=Text Editor
> + Comment=Sophisticated text editor for code, markup and prose
> +-Exec=/opt/sublime_text/sublime_text %F
> ++Exec=/usr/local/bin/sublime %F

What if PREFIX != /usr/local? Not to mention /usr/local/bin is in PATH
by default, usually set by /etc/login.conf. Try the following instead:

  Exec=sublime %F

Quoting the spec:

  The executable program can either be specified with its full path or
  with the name of the executable only. If no full path is provided the
  executable is looked up in the $PATH environment variable used by the
  desktop environment.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 602 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/svn-ports-all/attachments/20150208/9126d8a4/attachment.sig>


More information about the svn-ports-all mailing list