Эх сурвалжийг харах

allow lzma or newer xz-utils to be used

Waldemar Brodkorb 14 жил өмнө
parent
commit
dd57c7c17b
1 өөрчлөгдсөн 2 нэмэгдсэн , 2 устгасан
  1. 2 2
      scripts/scan-tools.sh

+ 2 - 2
scripts/scan-tools.sh

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