fix
This commit is contained in:
2
lemp.sh
2
lemp.sh
@@ -37,6 +37,7 @@ while :; do echo
|
|||||||
if [[ ! $mariadb_yn =~ ^[y,n]$ ]]; then
|
if [[ ! $mariadb_yn =~ ^[y,n]$ ]]; then
|
||||||
echo "${CWARNING}input error! Please only input 'y' or 'n'${CEND}"
|
echo "${CWARNING}input error! Please only input 'y' or 'n'${CEND}"
|
||||||
else
|
else
|
||||||
|
if [ "$mariadb_yn" == 'y' ]; then
|
||||||
while :; do echo
|
while :; do echo
|
||||||
read -p "Please type MariaDB root password:(Default lemp.sh press Enter) " MariaDB_ROOT_PWD
|
read -p "Please type MariaDB root password:(Default lemp.sh press Enter) " MariaDB_ROOT_PWD
|
||||||
[ -z "$MariaDB_ROOT_PWD" ] && MariaDB_ROOT_PWD="lemp.sh"
|
[ -z "$MariaDB_ROOT_PWD" ] && MariaDB_ROOT_PWD="lemp.sh"
|
||||||
@@ -44,6 +45,7 @@ while :; do echo
|
|||||||
break;
|
break;
|
||||||
done
|
done
|
||||||
fi
|
fi
|
||||||
|
fi
|
||||||
done
|
done
|
||||||
|
|
||||||
if [ "$init_yn" == 'y' ]; then
|
if [ "$init_yn" == 'y' ]; then
|
||||||
|
|||||||
Reference in New Issue
Block a user