Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- if [ "$1" == "-install" ]
- then
- tar -xjvf xchat-2.8.8.tar.bz2
- cd xchat-2.8.8
- ./configure
- make
- sudo make install
- ln -s /usr/local/bin/xchat ~/Desktop/XChat
- elif [ "$1" == "-uninstall" ]
- then
- cd xchat-2.8.8
- make clean
- sudo make uninstall
- cd ..
- rm -rf xchat-2.8.8
- rm ~/Desktop/XChat
- else
- echo "Ge parameter -install eller -uninstall."
- fi
Add Comment
Please, Sign In to add comment