Commit 45ff2bfe authored by Natanael Copa's avatar Natanael Copa

unpack .tgz source files

parent ed9f3ec3
......@@ -101,7 +101,7 @@ unpack() {
for u in $source; do
local s="$SRCDEST/${u##*/}" # $(basename $s)
case "$s" in
*.tar.gz)
*.tar.gz|*.tgz)
tar -C "$srcdir" -zxf "$s" || return 1;;
*.tar.bz2)
tar -C "$srcdir" -jxf "$s" || return 1;;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment