summaryrefslogtreecommitdiff
path: root/emulators/sdlmess/files/sdlmess.in
diff options
context:
space:
mode:
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