summarylogtreecommitdiffstats
path: root/ryzom.sh
blob: 8093636b8c287288280e0349f12295c2af1cfd46 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/bin/sh
if groups | grep games > /dev/null 2>&1 ; then 
  #sync data files	
  ryzom_sync 
  #update default config file
  mkdir -p ~/.ryzom
  cp /etc/ryzom/client_default.cfg ~/.ryzom/client_default.cfg
  #run game
  exec ryzom_client
  
else 
  echo "you need to be in games group to run ryzom"
  exit 1
fi