ソースを参照

check if xz is installed on the host

Waldemar Brodkorb 2 ヶ月 前
コミット
8b0fa7b1b8
1 ファイル変更9 行追加0 行削除
  1. 9 0
      scripts/prereq.sh

+ 9 - 0
scripts/prereq.sh

@@ -304,6 +304,15 @@ if ! which git >/dev/null 2>&1; then
 fi
 printf "found\n"
 
+printf " --->  checking if xz is installed.. "
+if ! which xz >/dev/null 2>&1; then
+  echo You must install xz to continue.
+  echo
+  out=1
+  printf "not found\n"
+fi
+printf "found\n"
+
 printf " --->  checking if ncurses is installed.. "
 check_lxdialog=${topdir}/adk/config/lxdialog/check-lxdialog.sh
 CURSES_CFLAGS=$(/bin/sh ${check_lxdialog} -ccflags | tr '\n' ' ')