Skip to content

Commit

Permalink
check if exists
Browse files Browse the repository at this point in the history
  • Loading branch information
teuben committed Aug 6, 2023
1 parent 89a74da commit 5804a40
Showing 1 changed file with 12 additions and 4 deletions.
16 changes: 12 additions & 4 deletions zinstall.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,24 @@
# graphical aid, using zenity, to configure and build NEMO
#


if ! [ -x "$(command -v zenity)" ]; then
echo 'Error: zenity is not installed.' >&2
exit 1
fi



options=$(zenity --list --checklist \
--title="Choose the configure and build options for NEMO" \
--separator=, \
--column="Option" --column "what" --column="Description" \
FALSE enable-debug "Debugging enables" \
FALSE enable-debug "Debugging enables" \
FALSE disable-fortran "Disable footran" \
FALSE with-csh "no csh" \
FALSE disable-shared " on a mac?" \
FALSE enable-clang "clang compiler instead of gcc" \
FALSE enable-single "single precision" \
FALSE disable-shared " on a mac?" \
FALSE enable-clang "clang compiler instead of gcc" \
FALSE enable-single "single precision" \
TRUE build1 "do this" \
TRUE build2 "do this" \
TRUE build3 "do this" \
Expand Down

0 comments on commit 5804a40

Please sign in to comment.