aboutsummaryrefslogtreecommitdiffstats
path: root/code/unix/setup/pkg/ioquake3/postremove
blob: 37690f6193327b5ee4670c46c3a9ac6ae6e41141 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#!/bin/sh
#
# @(#)postremove	$Id: postremove,v 1.3 2006/01/21 12:54:52 coyote Exp $
#
# postremove script for quake3

quake3_dir=$BASEDIR
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
			rm -f ${dest_script}
		fi
	done
fi

exit 0