summaryrefslogtreecommitdiff
path: root/lib/builder-utils.sh
diff options
context:
space:
mode:
authorMario Fetka <[email protected]>2012-02-18 14:18:46 (GMT)
committer Mario Fetka <[email protected]>2012-02-18 14:18:46 (GMT)
commitc26374d993dc45a9667b2d6b768fef815e215c93 (patch)
treea256ee1626aa8a4e04b2f08ef8ed4de201e6447a /lib/builder-utils.sh
parent088460ba47aed2e5072a0b8863f0dfbf4f8f49a7 (diff)
add unrar support (for broken rar packages not handled by 7zip)
Diffstat (limited to 'lib/builder-utils.sh')
-rw-r--r--lib/builder-utils.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/builder-utils.sh b/lib/builder-utils.sh
index e96feaa..bb04b87 100644
--- a/lib/builder-utils.sh
+++ b/lib/builder-utils.sh
@@ -60,6 +60,8 @@ function process_file() {
$CMD_7z x -o$dst $src
elif [ "$format" = "unzip" ]; then
$CMD_unzip $src -d $dst
+ elif [ "$format" = "unrar" ]; then
+ $CMD_unrar x $src $dst
else
fatal_error "Unknown compression format: $format"
fi

Powered by Domaintechnik.at | Hosting - Domain - Webspace