add support for unpacking lha files
authorMike Frysinger <vapier@gentoo.org>
Tue, 1 Nov 2005 01:33:39 +0000 (01:33 -0000)
committerMike Frysinger <vapier@gentoo.org>
Tue, 1 Nov 2005 01:33:39 +0000 (01:33 -0000)
svn path=/main/branches/2.0/; revision=2225

bin/ebuild.sh

index 666a79dd6d420208a9daeb880747f45bac223631..21a3afda81b06fa3e4391288a48d6307483aed9e 100755 (executable)
@@ -394,6 +394,9 @@ unpack() {
                        RAR|rar)
                                unrar x -idq "${srcdir}/${x}" || die "$myfail"
                                ;;
+                       LHa|LHA|lha|lzh)
+                               lha xqf "${srcdir}/${x}" || die "$myfail"
+                               ;;
                        *)
                                echo "unpack ${x}: file format not recognized. Ignoring."
                                ;;