config() {
  NEW="$1"
  OLD="$(dirname $NEW)/$(basename $NEW .new)"
  # If there's no config file by that name, mv it over:
  if [ ! -r $OLD ]; then
    mv $NEW $OLD
  elif [ "$(cat $OLD | md5sum)" = "$(cat $NEW | md5sum)" ]; then
    # toss the redundant copy
    rm $NEW
  fi
  # Otherwise, we leave the .new copy for the admin to consider...
}
( cd usr/lib/mono ; rm -rf Reference )
( cd usr/lib/mono ; ln -sf -> Reference )
( cd usr/lib/mono ; rm -rf Reference )
( cd usr/lib/mono ; ln -sf -> Reference )
( cd usr/lib/mono ; rm -rf Reference )
( cd usr/lib/mono ; ln -sf -> Reference )
( cd usr/lib/mono ; rm -rf Reference )
( cd usr/lib/mono ; ln -sf -> Reference )
( cd usr/lib/mono ; rm -rf Reference )
( cd usr/lib/mono ; ln -sf -> Reference )
( cd usr/lib/mono ; rm -rf Reference )
( cd usr/lib/mono ; ln -sf -> Reference )
( cd usr/lib/mono ; rm -rf Reference )
( cd usr/lib/mono ; ln -sf -> Reference )
( cd usr/lib/mono ; rm -rf Reference )
( cd usr/lib/mono ; ln -sf -> Reference )
( cd usr/lib/mono ; rm -rf Reference )
( cd usr/lib/mono ; ln -sf -> Reference )
( cd usr/lib/mono ; rm -rf Reference )
( cd usr/lib/mono ; ln -sf -> Reference )
( cd usr/lib/mono ; rm -rf Reference )
( cd usr/lib/mono ; ln -sf -> Reference )
( cd usr/lib/mono ; rm -rf Reference )
( cd usr/lib/mono ; ln -sf -> Reference )
( cd usr/lib/mono/4.5 ; rm -rf policy.2.0.FSharp.Core.dll )
( cd usr/lib/mono/4.5 ; ln -sf ../gac/policy.2.0.FSharp.Core/0.0.0.0__b03f5f7f11d50a3a/policy.2.0.FSharp.Core.dll policy.2.0.FSharp.Core.dll )
( cd usr/lib/mono/4.5 ; rm -rf FSharp.Compiler.Interactive.Settings.xml )
( cd usr/lib/mono/4.5 ; ln -sf ../gac/FSharp.Compiler.Interactive.Settings/4.4.0.0__f536804aa0eb945b/FSharp.Compiler.Interactive.Settings.xml FSharp.Compiler.Interactive.Settings.xml )
( cd usr/lib/mono/4.5 ; rm -rf FSharp.Compiler.Interactive.Settings.dll )
( cd usr/lib/mono/4.5 ; ln -sf ../gac/FSharp.Compiler.Interactive.Settings/4.4.0.0__f536804aa0eb945b/FSharp.Compiler.Interactive.Settings.dll FSharp.Compiler.Interactive.Settings.dll )
( cd usr/lib/mono/4.5 ; rm -rf policy.4.3.FSharp.Core.dll )
( cd usr/lib/mono/4.5 ; ln -sf ../gac/policy.4.3.FSharp.Core/0.0.0.0__b03f5f7f11d50a3a/policy.4.3.FSharp.Core.dll policy.4.3.FSharp.Core.dll )
( cd usr/lib/mono/4.5 ; rm -rf FSharp.Core.sigdata )
( cd usr/lib/mono/4.5 ; ln -sf ../gac/FSharp.Core/4.4.0.0__b03f5f7f11d50a3a/FSharp.Core.sigdata FSharp.Core.sigdata )
( cd usr/lib/mono/4.5 ; rm -rf FSharp.Core.optdata )
( cd usr/lib/mono/4.5 ; ln -sf ../gac/FSharp.Core/4.4.0.0__b03f5f7f11d50a3a/FSharp.Core.optdata FSharp.Core.optdata )
( cd usr/lib/mono/4.5 ; rm -rf FSharp.Data.TypeProviders.dll )
( cd usr/lib/mono/4.5 ; ln -sf ../gac/FSharp.Data.TypeProviders/4.4.0.0__f536804aa0eb945b/FSharp.Data.TypeProviders.dll FSharp.Data.TypeProviders.dll )
( cd usr/lib/mono/4.5 ; rm -rf policy.2.3.FSharp.Core.dll )
( cd usr/lib/mono/4.5 ; ln -sf ../gac/policy.2.3.FSharp.Core/0.0.0.0__b03f5f7f11d50a3a/policy.2.3.FSharp.Core.dll policy.2.3.FSharp.Core.dll )
( cd usr/lib/mono/4.5 ; rm -rf policy.3.259.FSharp.Core.dll )
( cd usr/lib/mono/4.5 ; ln -sf ../gac/policy.3.259.FSharp.Core/0.0.0.0__b03f5f7f11d50a3a/policy.3.259.FSharp.Core.dll policy.3.259.FSharp.Core.dll )
( cd usr/lib/mono/4.5 ; rm -rf FSharp.Compiler.xml )
( cd usr/lib/mono/4.5 ; ln -sf ../gac/FSharp.Compiler/4.4.0.0__f536804aa0eb945b/FSharp.Compiler.xml FSharp.Compiler.xml )
( cd usr/lib/mono/4.5 ; rm -rf FSharp.Compiler.Server.Shared.dll )
( cd usr/lib/mono/4.5 ; ln -sf ../gac/FSharp.Compiler.Server.Shared/4.4.0.0__f536804aa0eb945b/FSharp.Compiler.Server.Shared.dll FSharp.Compiler.Server.Shared.dll )
( cd usr/lib/mono/4.5 ; rm -rf policy.3.3.FSharp.Core.dll )
( cd usr/lib/mono/4.5 ; ln -sf ../gac/policy.3.3.FSharp.Core/0.0.0.0__b03f5f7f11d50a3a/policy.3.3.FSharp.Core.dll policy.3.3.FSharp.Core.dll )
( cd usr/lib/mono/4.5 ; rm -rf policy.3.78.FSharp.Core.dll )
( cd usr/lib/mono/4.5 ; ln -sf ../gac/policy.3.78.FSharp.Core/0.0.0.0__b03f5f7f11d50a3a/policy.3.78.FSharp.Core.dll policy.3.78.FSharp.Core.dll )
( cd usr/lib/mono/4.5 ; rm -rf policy.3.47.FSharp.Core.dll )
( cd usr/lib/mono/4.5 ; ln -sf ../gac/policy.3.47.FSharp.Core/0.0.0.0__b03f5f7f11d50a3a/policy.3.47.FSharp.Core.dll policy.3.47.FSharp.Core.dll )
( cd usr/lib/mono/4.5 ; rm -rf FSharp.Data.TypeProviders.xml )
( cd usr/lib/mono/4.5 ; ln -sf ../gac/FSharp.Data.TypeProviders/4.4.0.0__f536804aa0eb945b/FSharp.Data.TypeProviders.xml FSharp.Data.TypeProviders.xml )
( cd usr/lib/mono/4.5 ; rm -rf policy.3.7.FSharp.Core.dll )
( cd usr/lib/mono/4.5 ; ln -sf ../gac/policy.3.7.FSharp.Core/0.0.0.0__b03f5f7f11d50a3a/policy.3.7.FSharp.Core.dll policy.3.7.FSharp.Core.dll )
( cd usr/lib/mono/4.5 ; rm -rf FSharp.Compiler.Server.Shared.xml )
( cd usr/lib/mono/4.5 ; ln -sf ../gac/FSharp.Compiler.Server.Shared/4.4.0.0__f536804aa0eb945b/FSharp.Compiler.Server.Shared.xml FSharp.Compiler.Server.Shared.xml )
( cd usr/lib/mono/4.5 ; rm -rf FSharp.Compiler.dll )
( cd usr/lib/mono/4.5 ; ln -sf ../gac/FSharp.Compiler/4.4.0.0__f536804aa0eb945b/FSharp.Compiler.dll FSharp.Compiler.dll )
( cd usr/lib/mono/4.5 ; rm -rf FSharp.Core.dll )
( cd usr/lib/mono/4.5 ; ln -sf ../gac/FSharp.Core/4.4.0.0__b03f5f7f11d50a3a/FSharp.Core.dll FSharp.Core.dll )
( cd usr/lib/mono/4.5 ; rm -rf policy.4.0.FSharp.Core.dll )
( cd usr/lib/mono/4.5 ; ln -sf ../gac/policy.4.0.FSharp.Core/0.0.0.0__b03f5f7f11d50a3a/policy.4.0.FSharp.Core.dll policy.4.0.FSharp.Core.dll )
( cd usr/lib/mono/4.5 ; rm -rf FSharp.Core.xml )
( cd usr/lib/mono/4.5 ; ln -sf ../gac/FSharp.Core/4.4.0.0__b03f5f7f11d50a3a/FSharp.Core.xml FSharp.Core.xml )
