eclass/unpacker.eclass: Add support for makeself 2.4.0
authorChristian Ruppert <idl0r@gentoo.org>
Sat, 25 Aug 2018 16:59:10 +0000 (18:59 +0200)
committerChristian Ruppert <idl0r@gentoo.org>
Sat, 25 Aug 2018 19:22:07 +0000 (21:22 +0200)
eclass/unpacker.eclass

index c2c69dbc7d6b114218299eaf80813977397d3141..41aa3ef43da7ff15517ccf0156835515a5d23805 100644 (file)
@@ -202,7 +202,7 @@ unpack_makeself() {
                                skip=`grep -a ^offset= "${src}" | awk '{print $3}'`
                                (( skip++ ))
                                ;;
-                       2.1.4|2.1.5|2.1.6|2.2.0)
+                       2.1.4|2.1.5|2.1.6|2.2.0|2.4.0)
                                skip=$(grep -a offset=.*head.*wc "${src}" | awk '{print $3}' | head -n 1)
                                skip=$(head -n ${skip} "${src}" | wc -c)
                                exe="dd"