SHARE
TWEET

Untitled

a guest Sep 15th, 2010 45 Never
  1. if [ -z "$XDG_CONFIG_HOME" ]; then
  2.     _config_dir="$HOME/.config/brainparty"
  3. else
  4.     _config_dir="$XDG_CONFIG_HOME/brainparty"
  5. fi  
  6.  
  7. if [ ! -d ~/.brainparty/Content ]; then
  8.     mkdir -p "$_config_dir" || return 1
  9.     ln -s $pkgdir/usr/local/games/brainparty/Content -t "$_config_dir"
  10. fi
  11.  
  12. cd $_config_dir
  13. /usr/share/brainparty/brainparty
  14. cd - &>/dev/null
RAW Paste Data
Top