aboutsummaryrefslogtreecommitdiff
path: root/games/wmquake/wmquake.sh
blob: 888c0ea461be32e7b365b7de14826202aac2bd74 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/bash

mkdir -p ~/.wmquake
if ! cd ~/.wmquake; then
	echo "Can't create ~/.wmquake" 2>&1
	exit 1
fi
if [ ! -e id1 ]; then
	mkdir -p id1
	ln -s /usr/share/games/quake/id1/* id1/
fi
exec /usr/libexec/wmquake/wmquake "$@"