updated on Sun Jan 15 16:02:00 UTC 2012
[aur-mirror.git] / purity / purity-zen
blob8ec1a8ce1925169d36df41d2f5359c629d4e42c0
1 #!/bin/sh
2 map=`(echo -e "tut1\nrun1\nrun2" && ls ~/.purity/base/maps/ 2>/dev/null | grep "\.bsp" | egrep -o '.+[^\.bsp]') | zenity --list --text="Choose the map you wanna launch" --column="Map"`
4 case $map in
5 "")
6 ;;
7 tut1)
8 purity_cmd -nointro +sv_pure 0 +g_gametype 5 +map $map
9 ;;
11 purity_cmd -nointro +sv_pure 0 +g_gametype 3 +map $map
13 esac