mirror of
https://github.com/zhigang1992/RubyMotion.git
synced 2026-06-11 00:09:38 +08:00
remove useless code
This commit is contained in:
committed by
Watson
parent
b3a76a79be
commit
3abfbec6d4
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user