summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDT Netsolution GmbH <[email protected]>2012-04-23 09:12:31 (GMT)
committer DT Netsolution GmbH <[email protected]>2012-04-23 09:12:31 (GMT)
commitf8cb696af9325e2341f462d1550bb6f78b394db1 (patch)
treee1db4bec1ad46941a4c1a7b8b192a2123ce8dac3
parent89edef81d03173603da864137a30b9301704758f (diff)
parent06567742c89221a07fd763f2a3c45fe03e2388fb (diff)
Merge branch 'master' of disconnected-by-peer.at:go-opsi/devtools
-rw-r--r--lib/builder-targets.sh1
-rw-r--r--lib/builder-utils.sh2
2 files changed, 3 insertions, 0 deletions
diff --git a/lib/builder-targets.sh b/lib/builder-targets.sh
index c2b167c..c4f47f5 100644
--- a/lib/builder-targets.sh
+++ b/lib/builder-targets.sh
@@ -15,6 +15,7 @@ builder_config() {
CMD_unzip="`which unzip`" ; builder_check_error "Command 'unzip' not installed"
CMD_unrar="`which unrar`" ; builder_check_error "Command 'unrar' not installed"
CMD_zip="`which zip`" ; builder_check_error "Command 'zip' not installed"
+ CMD_lha="`which lha`" ; builder_check_error "Command 'lha' not installed"
CMD_unix2dos="`which unix2dos`" ; builder_check_error "Command 'unix2dos' not installed"
CMD_identify="`which identify`" ; builder_check_error "Command 'identify' (ImageMagick) not installed"
CMD_zsyncmake="`which zsyncmake`" ; builder_check_error "Command 'zsyncmake' not installed"
diff --git a/lib/builder-utils.sh b/lib/builder-utils.sh
index bb04b87..6ac35ea 100644
--- a/lib/builder-utils.sh
+++ b/lib/builder-utils.sh
@@ -62,6 +62,8 @@ function process_file() {
$CMD_unzip $src -d $dst
elif [ "$format" = "unrar" ]; then
$CMD_unrar x $src $dst
+ elif [ "$format" = "lha" ]; then
+ $CMD_lha x -w=$dst $src
else
fatal_error "Unknown compression format: $format"
fi

Powered by Domaintechnik.at | Hosting - Domain - Webspace