Browse Source

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

Waldemar Brodkorb 12 years ago
parent
commit
86dfed8c16
1 changed files with 8 additions and 2 deletions
  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