clockwerk-tools
/lib/upgrade-clockwerk |
@@ -56,7 +56,9 @@ |
./runprebuild.sh |
echo "[Clockwerk] Build..." |
nant |
if [ -d /srv/opensim ]; then |
if [ ! -d /srv/opensim ]; then |
mkdir -p /srv/opensim |
fi |
echo "[Clockwerk] Copying files..." |
mkdir -p /srv/opensim |
find bin/ -name \*.ini -o -name \*.config -o -name assets -o -name assetcache -exec rm -rf '{}' \; |
@@ -64,12 +66,14 @@ |
echo "[Clockwerk] Changing ownership..." |
chown -R opensim:opensim /srv/opensim/ |
fi |
fi |
if [ -d ../clockwerk-opensim-config/ ]; then |
cd ../clockwerk-opensim-config/ |
svn update |
dialog --yesno "This option will update OpenSim's configuration files EXCEPT Regions.ini which will not be overwritten. It is useful to synchronize OpenSim's configuration files with new options from the development branch. If you have made changes to OpenSim's ini files, a resonable answer will be no. However, at some point you should make a backup and sync with the development version. Update the configuration files now?" 12 70 |
if [ $? == "0" ]; then |
if [ ! -d /srv/opensim ]; then |
mkdir -p /srv/opensim |
fi |
echo "[Clockwerk] Updating configuration..." |
cp -Ra * /srv/opensim/ |
echo "[Clockwerk] Changing ownership..." |