remove useless code

This commit is contained in:
Laurent Sansonetti
2014-09-17 02:08:51 +09:00
committed by Watson
parent b3a76a79be
commit 3abfbec6d4

View File

@@ -136,13 +136,6 @@ module Motion; class Command
end
FileUtils.rm_f tmp_dest
dest_installation_dir = nil
if @wanted_software_version
dest_installation_dir = '/Library/RubyMotion' + wanted_software_version.to_s
elsif @prerelease_mode
dest_installation_dir = '/Library/RubyMotionPre'
end
if @wanted_software_version
dest_installation_dir = '/Library/RubyMotion' + @wanted_software_version
FileUtils.mv '/Library/RubyMotion', dest_installation_dir