From d37536edf4660f3c46e4876b6d72e9a200549ffe Mon Sep 17 00:00:00 2001 From: tma Date: Wed, 5 Sep 2007 18:17:46 +0000 Subject: * Merge unified-sdl to trunk * Bump Q3_VERSION to 1.35 git-svn-id: svn://svn.icculus.org/quake3/trunk@1161 edf5b092-35ff-0310-97b2-ce42778d08ea --- misc/setup/pkg/ioquake3/postinstall | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 misc/setup/pkg/ioquake3/postinstall (limited to 'misc/setup/pkg/ioquake3/postinstall') diff --git a/misc/setup/pkg/ioquake3/postinstall b/misc/setup/pkg/ioquake3/postinstall new file mode 100644 index 0000000..2775d5e --- /dev/null +++ b/misc/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 + -- cgit v1.2.3