Pastebin launched a little side project called HostCabi.net, check it out ;-)Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on Sep 15th, 2010  |  syntax: None  |  size: 0.36 KB  |  hits: 42  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  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