From 1a58c046d3e7d513a5f83d74f691d416ee1dda7e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Siwek?= Date: Sat, 14 Sep 2013 18:31:07 +0200 Subject: [PATCH] Fix lines order bug in the install method --- cbrew | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/cbrew b/cbrew index 82b9a168d..96fb21265 100755 --- a/cbrew +++ b/cbrew @@ -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