clockwerk-tools
/lib/upgrade-clockwerk |
@@ -42,16 +42,12 @@ |
# OpenSim upgrade |
pushd ./ |
cd ../ |
if [ ! -d clockwerk-opensim ]; then |
svn co http://svn.was.fm/clockwerk-opensim |
echo "[Clockwerk] Updating sources..." |
if [ -d clockwerk-opensim ]; then |
rm -rf clockwerk-opensim |
fi |
echo "[Clockwerk] Updating sources..." |
svn co http://svn.was.fm/clockwerk-opensim |
cd clockwerk-opensim |
yes | ./runprebuild.sh clean |
svn revert --recursive . |
svn status | grep "^\?" | grep -v "." | awk '{print $2}' | xargs rm -rf - |
svn status | grep "^\!" | grep -v "." | awk '{print $2}' | xargs rm -rf - |
svn update --accept base |
dialog --yesno "By selecting yes here, the OpenSim sources will be updated from the development repository, compiled and added to the current OpenSim working directory. Selecting yes here will not affect any modifications you may have done to OpenSim's ini files. Upgrade the OpenSim binaries to the lastest development version?" 10 70 |
if [ $? == "0" ]; then |
echo "[Clockwerk] Cleaning..." |