installer: exit if /bin/dialog is not there.

This commit is contained in:
Juan RP 2014-09-21 12:20:45 +02:00
parent 0245d934c5
commit fde61a9d43

View File

@ -1000,6 +1000,10 @@ menu() {
esac esac
} }
if [ ! -x /bin/dialog ]; then
echo "ERROR: missing dialog command, exiting..."
exit 1
fi
# #
# main() # main()
# #