LINUX.ORG.RU

История изменений

Исправление Deleted, (текущая версия) :

diff --git a/unpackinitcpio b/unpackinitcpio
index c575bff137e9..f0c1c3b8a051 100755
--- a/unpackinitcpio
+++ b/unpackinitcpio
@@ -6,7 +6,7 @@ unpack()
 
 	comp_alg=$( file --brief --mime-type "${1}" )
 	case "${comp_alg}" in
-		"application/x-gzip")
+		"application/x-gzip" | "application/gzip")
 			decomp_cmd="gunzip"
 		;;
 

Исходная версия Deleted, :

Очевидный фикс:

diff --git a/unpackinitcpio b/unpackinitcpio
index c575bff137e9..f0c1c3b8a051 100755
--- a/unpackinitcpio
+++ b/unpackinitcpio
@@ -6,7 +6,7 @@ unpack()
 
        comp_alg=$( file --brief --mime-type "${1}" )
        case "${comp_alg}" in
-               "application/x-gzip")
+               "application/x-gzip" | "application/gzip")
                        decomp_cmd="gunzip"
                ;;