Fix lines order bug in the install method

This commit is contained in:
Michał Siwek
2013-09-14 18:31:07 +02:00
parent 0971ba717b
commit 1a58c046d3

10
cbrew
View File

@@ -123,12 +123,12 @@ def install
puts "Installing..."
@pkg.install
else
puts "Unpacking archive, this may take a while..."
system "tar", "zxf", meta[:filename]
puts "Installing..."
#system "mv", "./usr/*", "./xd"
Dir.chdir CBREW_BREW_DIR do
puts "Unpacking archive, this may take a while..."
system "tar", "zxf", meta[:filename]
puts "Installing..."
FileUtils.mv './dlist', CBREW_CONFIG_PATH + "meta/#{@pkg.name}.directorylist"
FileUtils.mv './filelist', CBREW_CONFIG_PATH + "meta/#{@pkg.name}.filelist"
end