diff options
author | Jose V Beneyto <sepen@crux.nu> | 2013-02-20 17:25:25 +0100 |
---|---|---|
committer | Jose V Beneyto <sepen@crux.nu> | 2013-02-21 11:52:44 +0100 |
commit | 9020050160a60cc2e5f0570fddbfbe0a96ecbb05 (patch) | |
tree | 89ae16b13d4d740889d0b2bd9a8214a6fa3ca7d1 /enemy-territory/et | |
parent | 42042547973f117c3f5532ea75f0ec18641e44f4 (diff) | |
download | contrib-9020050160a60cc2e5f0570fddbfbe0a96ecbb05.tar.gz contrib-9020050160a60cc2e5f0570fddbfbe0a96ecbb05.tar.xz |
enemy-territory: fixed pbsetup and etkey issues and cleanup
Diffstat (limited to 'enemy-territory/et')
-rw-r--r-- | enemy-territory/et | 15 |
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 |