From 8b0fa7b1b8f0935f15abe8b76ace6cf76e494784 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Tue, 3 Sep 2024 05:47:42 +0200 Subject: check if xz is installed on the host --- scripts/prereq.sh | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'scripts/prereq.sh') diff --git a/scripts/prereq.sh b/scripts/prereq.sh index 2d3a921fa..5277d8f1b 100755 --- a/scripts/prereq.sh +++ b/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' ' ') -- cgit v1.2.3