summaryrefslogtreecommitdiffstats
path: root/editors/emacs19/files
diff options
context:
space:
mode:
authorkuriyama <kuriyama@FreeBSD.org>1999-01-02 12:26:11 +0000
committerkuriyama <kuriyama@FreeBSD.org>1999-01-02 12:26:11 +0000
commit62617a95079bfb67512418cc2b503b95d45ca2c8 (patch)
tree7959819f5313c2ef8e30821cf401a25f37fbb850 /editors/emacs19/files
parent800bddecd733c1ea916be67d237e05fce464ea50 (diff)
downloadFreeBSD-ports-62617a95079bfb67512418cc2b503b95d45ca2c8.zip
FreeBSD-ports-62617a95079bfb67512418cc2b503b95d45ca2c8.tar.gz
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>
Diffstat (limited to 'editors/emacs19/files')
-rw-r--r--editors/emacs19/files/emacs.sh10
1 files changed, 10 insertions, 0 deletions
diff --git a/editors/emacs19/files/emacs.sh b/editors/emacs19/files/emacs.sh
new file mode 100644
index 0000000..09baabf
--- /dev/null
+++ b/editors/emacs19/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
+
OpenPOWER on IntegriCloud