Explorar o código

some kernels use LZMA, some XZ by default now. Check both tools.

Waldemar Brodkorb %!s(int64=14) %!d(string=hai) anos
pai
achega
86dfed8c16
Modificáronse 1 ficheiros con 8 adicións e 2 borrados
  1. 8 2
      scripts/scan-tools.sh

+ 8 - 2
scripts/scan-tools.sh

@@ -112,8 +112,14 @@ if ! which gzip >/dev/null 2>&1; then
 	out=1
 fi
 
-if ! which lzma >/dev/null 2>&1 && ! which xz >/dev/null 2>&1; then
-	echo You must install lzma or xz-utils to continue.
+if ! which lzma >/dev/null 2>&1; then
+	echo You must install lzma to continue.
+	echo
+	out=1
+fi
+
+if ! which xz >/dev/null 2>&1; then
+	echo You must install xz-utils to continue.
 	echo
 	out=1
 fi