summaryrefslogtreecommitdiff
path: root/emulators/sdlmess/files/sdlmess.in
diff options
context:
space:
mode:
authorAlejandro Pulver <alepulver@FreeBSD.org>2007-09-05 22:35:55 +0000
committerAlejandro Pulver <alepulver@FreeBSD.org>2007-09-05 22:35:55 +0000
commit018f022d33b7824556c386272a9e5ac4cb1f9bee (patch)
tree67b9739b6e717dde5659e20b799bd0e4dee86b83 /emulators/sdlmess/files/sdlmess.in
parentImport a patch submitted by the author: it fixes a problem related to (diff)
- Update to version 0.118.
- Binaries are now installed in a subdirectory (libexec/sdlmess). - The wrapper script addtional output was removed (problematic for programs which parse the output). Submitted by: nikow <madleser@gmx.de> (private e-mail)
Diffstat (limited to 'emulators/sdlmess/files/sdlmess.in')
-rw-r--r--emulators/sdlmess/files/sdlmess.in7
1 files changed, 2 insertions, 5 deletions
diff --git a/emulators/sdlmess/files/sdlmess.in b/emulators/sdlmess/files/sdlmess.in
index df44e1bf27fd..f0d97316d6f3 100644
--- a/emulators/sdlmess/files/sdlmess.in
+++ b/emulators/sdlmess/files/sdlmess.in
@@ -2,14 +2,11 @@
#
# The executable needs to be run from its data directory, and needs to store
# configuration in it. We therefore mirror the data directory hierarchy in
-# ~/.cube, and create symlinks to the data files.
+# ~/.sdlmess, and create symlinks to the data files.
#
-if [ -d ~/.sdlmess ]
+if [ ! -d ~/.sdlmess ]
then
- echo "Using existing ~/.sdlmess directory."
-else
- echo "Creating ~/.sdlmess directory."
cd %%DATADIR%% || exit 1
find * -type d -exec mkdir -p ~/.sdlmess/{} \;
find * -type f -exec ln -s %%DATADIR%%/{} ~/.sdlmess/{} \; 2>/dev/null