2a3e3873a1
Level up WARNS
22 lines
433 B
Bash
22 lines
433 B
Bash
#!/bin/sh
|
|
# $Id: report-yesno,v 1.2 2012/06/29 09:32:12 tom Exp $
|
|
# Report button-only, no $RESULT
|
|
# vile:shmode
|
|
|
|
case $retval in
|
|
$DIALOG_OK)
|
|
echo "YES";;
|
|
$DIALOG_CANCEL)
|
|
echo "NO";;
|
|
$DIALOG_HELP)
|
|
echo "Help pressed.";;
|
|
$DIALOG_EXTRA)
|
|
echo "Extra button pressed.";;
|
|
$DIALOG_ITEM_HELP)
|
|
echo "Item-help button pressed.";;
|
|
$DIALOG_ERROR)
|
|
echo "ERROR!";;
|
|
$DIALOG_ESC)
|
|
echo "ESC pressed.";;
|
|
esac
|