initial extraction

This commit is contained in:
gh2o 2014-07-12 12:47:47 -07:00
parent c9dac46b7e
commit 4f038a972c
1 changed files with 6 additions and 0 deletions

View File

@ -138,6 +138,12 @@ download_packages() {
extract_packages() { extract_packages() {
log "Extracting 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() { error_occurred() {