diff options
author | Dmitry Marakasov <amdmi3@FreeBSD.org> | 2015-12-29 17:48:19 +0000 |
---|---|---|
committer | Dmitry Marakasov <amdmi3@FreeBSD.org> | 2015-12-29 17:48:19 +0000 |
commit | 5dc918f30b10935e83fc4db228c4dcd7ad75412d (patch) | |
tree | 471a9245f701d9f16584b09376b18dc99f85e072 /editors/linux-sublime3/files/sublime.in | |
parent | - Move dns/py-dns3 to dns/py-py3dns (diff) |
- Rename editors/sublime3 to editors/linux-sublime3 and add PKGNAMESUFFIX
- Bring port directory and package names in sync
- Resolve PKGBASE conflict with editors/linux-sublime
PR: 205694
Approved by: portmgr blanket (due to PKGBASE conflict)
Notes
Notes:
svn path=/head/; revision=404769
Diffstat (limited to 'editors/linux-sublime3/files/sublime.in')
-rw-r--r-- | editors/linux-sublime3/files/sublime.in | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/editors/linux-sublime3/files/sublime.in b/editors/linux-sublime3/files/sublime.in new file mode 100644 index 000000000000..75390fe6ffc9 --- /dev/null +++ b/editors/linux-sublime3/files/sublime.in @@ -0,0 +1,15 @@ +#!/compat/linux/bin/sh +if [ -L "/dev/shm" ];then + %%DATADIR%%/sublime_text "$@" +else + echo "Some Linux applications use shared memory. + +Sublime Text 3 can not function without it, you need to set up a link +from /dev/shm to a suitable place, e.g. by adding the following line +to /etc/devfs.conf (takes effect on each boot - restart devfs to apply +then change now): + link /tmp shm +" + exit 1; +fi + |