Eight (seven really) steps to upgrade your Rhost MUSH installation quickly, safely and without interrupting the running process.
I used the paths as I have things set up on my system. Naturally, your setup may be different, change the paths in the examples below accordingly.
1. Back up your database! Within the game, @dump to make flat file copies of your databases (see 'wizhelp @dump'). Put them somewhere safe.
2. Download the latest stable version (or unstable if you are feeling brave) from http://svn.rhostmush.org/downloads/
3. Unpack the tarball in new folder (i.e. not over your existing installation!):
mkdir ~/tmp cd ~/tmp tar zxf ~/Rhost3.9Ap5.tar.gz
3a. (By Ash) -- You should make a backup copy of your existing Makefile.
cp ~/Rhost/Server/src/Makefile ~/Rhost/Server/src/Makefile.mybackup
4. Copy the src/ and hdrs/ directories from the new version into your existing version:
cp -a ~/tmp/Rhost3.9Ap5/Server/hdrs ~/Rhost/Server/ cp -a ~/tmp/Rhost3.9Ap5/Server/src ~/Rhost/Server/
4a. (By Ash) -- You should probably compare or restore the old makefile here.
diff ~/tmp/Rhost3.9Ap5/Server/src/Makefile ~/Rhost/Server/src/Makefile.mybackup (you want to pay attention to the DEFS line for the changes. You can either add them yourself or you can just copy it back if that's the only change between them) cp ~/Rhost/Server/src/Makefile.mybackup ~/Rhost/server/src/Makefile
5. Make the new binaries:
cd ~/Rhost/Server/ make clean make source
6. Update the help and wizhelp:
cp ~/tmp/Rhost3.9Ap5/Server/game/txt/help.txt ~/Rhost/Server/game/txt/ cp ~/tmp/Rhost3.9Ap5/Server/game/txt/wizhelp.txt ~/Rhost/Server/game/txt/ cd ~/Rhost/Server/game/txt/ ../mkindx help.txt help.indx ../mkindx wizhelp.txt wizhelp.indx
7. Within the game again, do '@reboot' and '@readcache'.
8. Enjoy!
