summaryrefslogtreecommitdiff
path: root/editors/emacs22/files
diff options
context:
space:
mode:
authorJun Kuriyama <kuriyama@FreeBSD.org>1999-01-02 12:26:11 +0000
committerJun Kuriyama <kuriyama@FreeBSD.org>1999-01-02 12:26:11 +0000
commit66f2af6f3be451a0f1058d4cd31fb83bdae81b2f (patch)
tree860ac424f20464cb80b0d47c15032307a2df7a7b /editors/emacs22/files
parentReflect change in 1.44 of src/etc/mtree/BSD.local.dist. (diff)
Lock file correction and reflect change in /etc/mtree/BSD.local.dist.
PR: ports/8289 (part of) Submitted by: Satoshi Taoka <taoka@infonets.hiroshima-u.ac.jp>
Notes
Notes: svn path=/head/; revision=15768
Diffstat (limited to 'editors/emacs22/files')
-rw-r--r--editors/emacs22/files/emacs.sh10
1 files changed, 10 insertions, 0 deletions
diff --git a/editors/emacs22/files/emacs.sh b/editors/emacs22/files/emacs.sh
new file mode 100644
index 000000000000..09baabfd255c
--- /dev/null
+++ b/editors/emacs22/files/emacs.sh
@@ -0,0 +1,10 @@
+#!/bin/sh
+if [ -d /var/run/emacs/lock ]
+then
+ rm -f /var/run/emacs/lock/*
+else
+ mkdir -p /var/run/emacs/lock
+fi
+chmod 1777 /var/run/emacs/lock
+exit 0
+