From 77d885f4affa0a76b54b949e575c664afb16d09d Mon Sep 17 00:00:00 2001 From: KeKe Date: Thu, 29 Aug 2024 20:41:25 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9E=81=E7=AE=80=E5=AE=89=E8=A3=85demo=20data?= =?UTF-8?q?base=E8=BE=93=E5=85=A5yes=E6=8A=A5=E9=94=99=E9=97=AE=E9=A2=98?= =?UTF-8?q?=E4=BF=AE=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- simpleInstall/install.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/simpleInstall/install.sh b/simpleInstall/install.sh index f256cbd70..ef6bffe9e 100644 --- a/simpleInstall/install.sh +++ b/simpleInstall/install.sh @@ -363,11 +363,11 @@ function fn_install_demoDB() then read -p "Would you like to create a demo database (yes/no)? " input fi - if [ $input == "yes" ] + if [ "$input"X == "yes"X ] then fn_load_demoDB 1>load.log 2>&1 fn_check_demoDB - elif [ $input == "no" ] + elif [ "$input"X == "no"X ] then return 2 else