summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rw-r--r--scripts/scan-tools.sh8
1 files changed, 5 insertions, 3 deletions
diff --git a/scripts/scan-tools.sh b/scripts/scan-tools.sh
index 93cd1dd70..8654d0d07 100644
--- a/scripts/scan-tools.sh
+++ b/scripts/scan-tools.sh
@@ -157,9 +157,11 @@ fi
if [[ ! -s /usr/include/ncurses.h ]]; then
if [[ ! -s /usr/include/curses.h ]]; then
if [[ ! -s /usr/include/ncurses/ncurses.h ]]; then
- echo Install ncurses header files, please.
- echo
- out=1
+ if [[ ! -s /usr/local/opt/ncurses/include/ncursesw/ncurses.h ]]; then
+ echo Install ncurses header files, please.
+ echo
+ out=1
+ fi
fi
fi
fi