diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2024-09-03 05:47:42 +0200 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2024-09-04 18:33:15 +0200 |
commit | 8b0fa7b1b8f0935f15abe8b76ace6cf76e494784 (patch) | |
tree | c39bd4de24ba1881fe218f77fe5e9e42f5f9c984 | |
parent | f43c0127ff4a84d116287c69f0b61ac3c8e51695 (diff) |
check if xz is installed on the host
-rwxr-xr-x | scripts/prereq.sh | 9 |
1 files changed, 9 insertions, 0 deletions
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' ' ') |