aboutsummaryrefslogtreecommitdiffstats
path: root/code/unix/setup/pkg/ioquake3/postinstall
diff options
context:
space:
mode:
Diffstat (limited to 'code/unix/setup/pkg/ioquake3/postinstall')
-rw-r--r--code/unix/setup/pkg/ioquake3/postinstall21
1 files changed, 21 insertions, 0 deletions
diff --git a/code/unix/setup/pkg/ioquake3/postinstall b/code/unix/setup/pkg/ioquake3/postinstall
new file mode 100644
index 0000000..2775d5e
--- /dev/null
+++ b/code/unix/setup/pkg/ioquake3/postinstall
@@ -0,0 +1,21 @@
+#!/bin/sh
+#
+# @(#)postinstall $Id: postinstall,v 1.3 2006/01/21 12:54:52 coyote Exp $
+#
+# postinstall script for quake3
+
+quake3_dir=$BASEDIR/quake3
+dest_dir=${PKG_INSTALL_ROOT}/usr/local/bin
+
+if [ -d ${dest_dir} ]; then
+ for inst_script in ioq3ded.sh ioquake3.sh
+ do
+ dest_script=${dest_dir}/${inst_script}
+ if [ ! -h ${dest_script} ]; then
+ ln -s ${quake3_dir}/${inst_script} ${dest_script}
+ fi
+ done
+fi
+
+exit 0
+