Guest User

Untitled

a guest
Apr 24th, 2018
72
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.42 KB | None | 0 0
  1. #!/bin/bash
  2.  
  3. if [ "$1" == "-install" ]
  4. then
  5. tar -xjvf xchat-2.8.8.tar.bz2
  6. cd xchat-2.8.8
  7. ./configure
  8. make
  9. sudo make install
  10. ln -s /usr/local/bin/xchat ~/Desktop/XChat
  11.  
  12. elif [ "$1" == "-uninstall" ]
  13. then
  14. cd xchat-2.8.8
  15. make clean
  16. sudo make uninstall
  17. cd ..
  18. rm -rf xchat-2.8.8
  19. rm ~/Desktop/XChat
  20.  
  21. else
  22. echo "Ge parameter -install eller -uninstall."
  23.  
  24. fi
Add Comment
Please, Sign In to add comment