summaryrefslogtreecommitdiff
path: root/pcr/ryzom-hg/ryzom.sh
diff options
context:
space:
mode:
Diffstat (limited to 'pcr/ryzom-hg/ryzom.sh')
-rw-r--r--pcr/ryzom-hg/ryzom.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/pcr/ryzom-hg/ryzom.sh b/pcr/ryzom-hg/ryzom.sh
new file mode 100644
index 000000000..e3cff2c64
--- /dev/null
+++ b/pcr/ryzom-hg/ryzom.sh
@@ -0,0 +1,9 @@
+#!/bin/sh
+if groups | grep games > /dev/null 2>&1 ; then
+ ryzom_sync
+ exec ryzom_client
+
+else
+ echo "you need to be in games group to run ryzom"
+ exit 1
+fi