mirror of
https://github.com/suikan4github/kaiten-yaki.git
synced 2025-12-20 10:31: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
|
# For surre ask the config.sh is edited
|
||||||
echo "Did you edit config.sys? Are you ready to install? [Y/N]"
|
echo "Did you edit config.sys? Are you ready to install? [Y/N]"
|
||||||
read YESNO
|
read YESNO
|
||||||
if [ YESNO != "Y" -a YESNO != "y" ] ; then
|
if [ ${YESNO} != "Y" -a ${YESNO} != "y" ] ; then
|
||||||
cat <<HEREDOC 1>&2
|
cat <<HEREDOC 1>&2
|
||||||
|
|
||||||
Installation terminated.
|
Installation terminated.
|
||||||
|
|
@ -33,7 +33,7 @@ fi # if YES
|
||||||
if [ ${ERASEALL} -eq 1 ] ; then
|
if [ ${ERASEALL} -eq 1 ] ; then
|
||||||
echo "Are you sure you want to erase entire ${DEV}? [Y/N]"
|
echo "Are you sure you want to erase entire ${DEV}? [Y/N]"
|
||||||
read YESNO
|
read YESNO
|
||||||
if [ YESNO != "Y" -a YESNO != "y" ] ; then
|
if [ ${YESNO} != "Y" -a ${YESNO} != "y" ] ; then
|
||||||
cat <<HEREDOC 1>&2
|
cat <<HEREDOC 1>&2
|
||||||
Check config.sh. The ERASEALL is ${ERASEALL}.
|
Check config.sh. The ERASEALL is ${ERASEALL}.
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue