From 4f038a972c50f21e56f91e8e49ce13c74dc5f20e Mon Sep 17 00:00:00 2001 From: gh2o Date: Sat, 12 Jul 2014 12:47:47 -0700 Subject: [PATCH] initial extraction --- install.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/install.sh b/install.sh index c8062b8..ad5e0a5 100755 --- a/install.sh +++ b/install.sh @@ -138,6 +138,12 @@ download_packages() { extract_packages() { log "Extracting packages ..." + local dir filename + for pkg in "${!dependencies[@]}"; do + dir=$(get_package_directory ${pkg}) + filename=$(get_package_value ${dir}/desc FILENAME) + xz -dc /archroot/packages/${filename} | tar -C /archroot -xf - + done } error_occurred() {