diff options
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 + |