summaryrefslogtreecommitdiff
path: root/games/redeclipse/files/sauer_server.in
diff options
context:
space:
mode:
Diffstat (limited to 'games/redeclipse/files/sauer_server.in')
-rw-r--r--games/redeclipse/files/sauer_server.in18
1 files changed, 0 insertions, 18 deletions
diff --git a/games/redeclipse/files/sauer_server.in b/games/redeclipse/files/sauer_server.in
deleted file mode 100644
index 672564b86865..000000000000
--- a/games/redeclipse/files/sauer_server.in
+++ /dev/null
@@ -1,18 +0,0 @@
-#!/bin/sh
-
-# 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
-# ~/.sauerbraten, and create symlinks to the data files.
-
-if [ -d ~/.sauerbraten ]
-then
- echo "Using existing ~/.sauerbraten directory."
-else
- echo "Creating ~/.sauerbraten directory."
- cd %%DATADIR%% || exit 1
- find * -type d -exec mkdir -p ~/.sauerbraten/{} \;
- find * -type f -exec ln -s %%DATADIR%%/{} ~/.sauerbraten/{} \; 2>/dev/null
-fi
-
-cd ~/.sauerbraten || exit 1
-exec %%PREFIX%%/libexec/sauer_server "$@"