Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 08 Feb 2015 21:08:31 +0100
From:      Jan Beich <jbeich@vfemail.net>
To:        Kurt Jaeger <pi@FreeBSD.org>
Cc:        svn-ports-head@freebsd.org, svn-ports-all@freebsd.org, miguelmclara@gmail.com, ports-committers@freebsd.org
Subject:   Re: svn commit: r378670 - in head/editors/sublime3: . files
Message-ID:  <pp9k-2mkg-wny@vfemail.net>
In-Reply-To: <201502081852.t18IqmeC039674@svn.freebsd.org> (Kurt Jaeger's message of "Sun, 8 Feb 2015 18:52:48 %2B0000 (UTC)")
References:  <201502081852.t18IqmeC039674@svn.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
--=-=-=
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

Kurt Jaeger <pi@FreeBSD.org> writes:

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

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

  Exec=3Dsublime %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.

--=-=-=
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQF8BAEBCgBmBQJU18I/XxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w
ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXREQjQ0MzY3NEM3RDIzNTc4NkUxNDkyQ0VF
NEM3Nzg4MzQ3OURCRERCAAoJEOTHeINHnb3bJVkIAOIsJZK8/0DTxrnjz2VCMdrG
FeEoAyQdwxYBpfO5CTtvMm23tmXAx0RZEwuSXRQD3Cc9sjpP1rAn8apgNkeYu9kt
qkwkI9eX4pFuMzz0T/YOzORxYGCanm5qyo0Pldc4OcJpq8FmVf8waN/5LP6VhDBi
xHXrGDAy1CubpElXYwXP51IeV7V4G8HSg+PPvkuSZOjifdDymuNN2ZKpAoQ/IeIQ
kWCpmnXh/GFZhxjYcHqNGvsgKZtlUydjvNZMX7RF4rHaUwwxhw9tSV4Y/4zoNJVs
hCF6MO7jrD0jDIbn/6cORbNRR4mvaqgVxpwocoq1uL0RS8GZl5OqvUGpNNdU8l8=
=d44r
-----END PGP SIGNATURE-----
--=-=-=--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?pp9k-2mkg-wny>