installer: exit if /bin/dialog is not there.
This commit is contained in:
parent
0245d934c5
commit
fde61a9d43
@ -1000,6 +1000,10 @@ menu() {
|
||||
esac
|
||||
}
|
||||
|
||||
if [ ! -x /bin/dialog ]; then
|
||||
echo "ERROR: missing dialog command, exiting..."
|
||||
exit 1
|
||||
fi
|
||||
#
|
||||
# main()
|
||||
#
|
||||
|
Loading…
x
Reference in New Issue
Block a user