mirror of
https://github.com/suikan4github/kaiten-yaki.git
synced 2025-12-20 02:21:17 -03:00
Fix yesno bug
This commit is contained in:
parent
a1ce4fe5b4
commit
d0ffac92cb
1 changed files with 2 additions and 2 deletions
|
|
@ -20,7 +20,7 @@ source config.sh
|
|||
# For surre ask the config.sh is edited
|
||||
echo "Did you edit config.sys? Are you ready to install? [Y/N]"
|
||||
read YESNO
|
||||
if [ YESNO != "Y" -a YESNO != "y" ] ; then
|
||||
if [ ${YESNO} != "Y" -a ${YESNO} != "y" ] ; then
|
||||
cat <<HEREDOC 1>&2
|
||||
|
||||
Installation terminated.
|
||||
|
|
@ -33,7 +33,7 @@ fi # if YES
|
|||
if [ ${ERASEALL} -eq 1 ] ; then
|
||||
echo "Are you sure you want to erase entire ${DEV}? [Y/N]"
|
||||
read YESNO
|
||||
if [ YESNO != "Y" -a YESNO != "y" ] ; then
|
||||
if [ ${YESNO} != "Y" -a ${YESNO} != "y" ] ; then
|
||||
cat <<HEREDOC 1>&2
|
||||
Check config.sh. The ERASEALL is ${ERASEALL}.
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue