Advertisement
cor3ntin

Run wakfu on fedora

Feb 12th, 2014
176
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.76 KB | None | 0 0
  1. #!/bin/bash
  2.  
  3. #The following bash script install Wakfu on Fedora.
  4. #Tested on Fedora 19 KDE. Use at your owns risks.
  5.  
  6. #Le script suivant installe Wakfu sur fedora
  7. #Testé Sur fedora 19 version KDE. Utilisez à vos propres risques.
  8.  
  9. arch=`uname -m`
  10. if [ "$arch" == "x86_64" ]; then
  11. installer="http://dl.ak.ankama.com/games/installers/wakfu-amd64.tar.gz"
  12. else
  13. installer="http://dl.ak.ankama.com/games/installers/wakfu-x86.tar.gz"
  14. fi
  15.  
  16. curl $installer -o Wakfu.tar.gz
  17. tar xzf Wakfu.tar.gz
  18.  
  19. #removing default Qt version
  20. pushd wakfu/transition
  21. mkdir .transition
  22. for f in $(ls -1 libQt*); do echo "$f=NeverUpdate" >> .transition/update_policy.txt; rm $f; done
  23. popd
  24.  
  25. #installing Qt
  26. sudo yum install qt
  27.  
  28. #run the launcher
  29. #killall -9 transition
  30. wakfu/wakfu
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement