modernize multiple seqs and fix deprecated use of endCheckEmpty
This commit is contained in:
@@ -209,15 +209,15 @@ step_22() {
|
||||
readDatabaseInfos() {
|
||||
if [ -z "$postgresDb" ] ; then
|
||||
read -p "Enter postgres database name: " postgresDb
|
||||
endCheckEmpty postgresDb "database"
|
||||
endIfEmpty postgresDb "database"
|
||||
fi
|
||||
if [ -z "$postgresUser" ] ; then
|
||||
read -p "Enter postgres user name: " postgresUser
|
||||
endCheckEmpty postgresUser "user name"
|
||||
endIfEmpty postgresUser "user name"
|
||||
fi
|
||||
if [ -z "$postgresPass" ] ; then
|
||||
read -s -p "Enter postgres password: " postgresPass
|
||||
endCheckEmpty postgresPass "password"
|
||||
endIfEmpty postgresPass "password"
|
||||
fi
|
||||
info
|
||||
}
|
||||
|
Reference in New Issue
Block a user