summarylogtreecommitdiffstats
path: root/clonk_rage.sh
blob: 9e57ac0be85ecdc8db7acfda896ff072160d3a08 (plain)
1
2
3
4
5
6
7
8
9
#!/bin/bash
/opt/clonk_rage/clonk $*

if [ $? == 126 ]; then
  message="You must be in the group 'games' to play Clonk Rage."
  zenity --info --text "${message}" ||
  kdialog --msgbox "${message}" ||
  xmessage -buttons okay -default okay "${message}"
fi