summaryrefslogtreecommitdiff
path: root/enemy-territory/et
diff options
context:
space:
mode:
Diffstat (limited to 'enemy-territory/et')
-rw-r--r--enemy-territory/et15
1 files changed, 12 insertions, 3 deletions
diff --git a/enemy-territory/et b/enemy-territory/et
index b8d995dc7..c7c49c132 100644
--- a/enemy-territory/et
+++ b/enemy-territory/et
@@ -1,8 +1,17 @@
#!/bin/sh
-cd /usr/share/enemy-territory
-./et.x86 $@
-cd -
+ET_HOME="/usr/share/enemy-territory"
+
+# check pbsetup
+
+
+# check etkey
+if [ ! -f $HOME/.etwolf/etmain/etkey ]; then
+ install -D $ET_HOME/etmain/etkey $HOME/.etwolf/etmain/etkey
+fi
+
+
+cd $ET_HOME && ./et.x86 $@
# End of File

Generated by cgit