This commit is contained in:
Laurent Sansonetti
2014-09-17 02:55:06 +09:00
committed by Watson
parent 3abfbec6d4
commit 2dc90e4f4f

View File

@@ -165,7 +165,7 @@ module Motion; class Command
FileUtils.rm_rf Motion::Project::Builder.common_build_dir
ensure
if dest_installation_dir && File.exist?('/Library/RubyMotion.old')
if (@wanted_software_version or @prerelease_mode) and File.exist?('/Library/RubyMotion.old')
FileUtils.mv '/Library/RubyMotion.old', '/Library/RubyMotion'
end
end