summaryrefslogtreecommitdiff
path: root/scripts/scan-tools.sh
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/scan-tools.sh')
-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 89e368d8b..256104f2b 100644
--- a/scripts/scan-tools.sh
+++ b/scripts/scan-tools.sh
@@ -184,9 +184,11 @@ fi
if [[ ! -s /usr/include/ncurses.h ]]; then
if [[ ! -s /usr/include/curses.h ]]; then
- echo Install ncurses header files, please.
- echo
- out=1
+ if [[ ! -s /usr/include/ncurses/ncurses.h ]]; then
+ echo Install ncurses header files, please.
+ echo
+ out=1
+ fi
fi
fi