Parcourir la source

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

Waldemar Brodkorb il y a 15 ans
Parent
commit
86dfed8c16
1 fichiers modifiés avec 8 ajouts et 2 suppressions
  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