tanabi

MuckCycle script

Apr 3rd, 2019
174
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.28 KB | None | 0 0
  1. #!/bin/bash
  2.  
  3. cd fuzzball
  4. git pull origin master 2>&1 | grep "Already up"
  5. ret=$?
  6.  
  7. if [ "$ret" -eq "1" ]; then
  8.     make clean
  9.     ./configure --with-ssl --prefix=/home/fuzzball/muck
  10.     make
  11.     pkill fbmuck
  12.     make install
  13.     cd /home/fuzzball/muck/game
  14.     ./restart
  15. fi
Advertisement
Add Comment
Please, Sign In to add comment