소스 검색

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

Waldemar Brodkorb 14 년 전
부모
커밋
86dfed8c16
1개의 변경된 파일8개의 추가작업 그리고 2개의 파일을 삭제
  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