Commit 1a58c046 authored by Michał Siwek's avatar Michał Siwek

Fix lines order bug in the install method

parent 0971ba71
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment