summaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
authorAlejandro Pulver <alepulver@FreeBSD.org>2007-10-21 01:59:08 +0000
committerAlejandro Pulver <alepulver@FreeBSD.org>2007-10-21 01:59:08 +0000
commit66b7f07eaaca3b674890a095c2b307e7336726f6 (patch)
treed294e95e478d10151e76fa784eaf4fedc88177c0 /games
parent- Update to 1.17 (diff)
- Remove incorrectly added files (they belong to the new games/assaultcube).
Reported by: ale
Notes
Notes: svn path=/head/; revision=201696
Diffstat (limited to 'games')
-rw-r--r--games/actioncube/files/assaultcube_client.in24
-rw-r--r--games/actioncube/files/assaultcube_server.in24
2 files changed, 0 insertions, 48 deletions
diff --git a/games/actioncube/files/assaultcube_client.in b/games/actioncube/files/assaultcube_client.in
deleted file mode 100644
index bac9e36abbea..000000000000
--- a/games/actioncube/files/assaultcube_client.in
+++ /dev/null
@@ -1,24 +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
-# ~/.XXX, and create symlinks to the data files, but the configuration files
-# are copied, and write permission for the user is added to them.
-
-APPNAME="assaultcube"
-
-if [ -d ~/.$APPNAME ]
-then
- echo "Using existing ~/.$APPNAME directory."
-else
- echo "Creating ~/.$APPNAME directory."
- cd %%DATADIR%% || exit 1
- find * -type d -exec mkdir -p ~/.$APPNAME/{} \;
- find * -type f -name "*.cfg" \
- -exec cp %%DATADIR%%/{} ~/.$APPNAME/{} \; \
- -exec chmod u+w ~/.$APPNAME/{} \; 2>/dev/null
- find * -type f -exec ln -s %%DATADIR%%/{} ~/.$APPNAME/{} \; 2>/dev/null
-fi
-
-cd ~/.$APPNAME || exit 1
-exec %%PREFIX%%/libexec/${APPNAME}_client "$@"
diff --git a/games/actioncube/files/assaultcube_server.in b/games/actioncube/files/assaultcube_server.in
deleted file mode 100644
index d82f6b70c081..000000000000
--- a/games/actioncube/files/assaultcube_server.in
+++ /dev/null
@@ -1,24 +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
-# ~/.XXX, and create symlinks to the data files, but the configuration files
-# are copied, and write permission for the user is added to them.
-
-APPNAME="assaultcube"
-
-if [ -d ~/.$APPNAME ]
-then
- echo "Using existing ~/.$APPNAME directory."
-else
- echo "Creating ~/.$APPNAME directory."
- cd %%DATADIR%% || exit 1
- find * -type d -exec mkdir -p ~/.$APPNAME/{} \;
- find * -type f -name "*.cfg" \
- -exec cp %%DATADIR%%/{} ~/.$APPNAME/{} \; \
- -exec chmod u+w ~/.$APPNAME/{} \; 2>/dev/null
- find * -type f -exec ln -s %%DATADIR%%/{} ~/.$APPNAME/{} \; 2>/dev/null
-fi
-
-cd ~/.$APPNAME || exit 1
-exec %%PREFIX%%/libexec/${APPNAME}_server "$@"