Fix config script
This commit is contained in:
parent
aa49e29bd2
commit
ce1fca104f
@ -160,8 +160,10 @@ read -r description
|
|||||||
while true; do
|
while true; do
|
||||||
echo -n "Enter password for main user: "
|
echo -n "Enter password for main user: "
|
||||||
read -r -s mainPasswd
|
read -r -s mainPasswd
|
||||||
|
echo
|
||||||
echo -n "Confirm your password for main user: "
|
echo -n "Confirm your password for main user: "
|
||||||
read -r -s confirmMainPasswd
|
read -r -s confirmMainPasswd
|
||||||
|
echo
|
||||||
if [[ "$mainPasswd" == "$confirmMainPasswd" ]]; then
|
if [[ "$mainPasswd" == "$confirmMainPasswd" ]]; then
|
||||||
break
|
break
|
||||||
fi
|
fi
|
||||||
@ -213,7 +215,7 @@ fi
|
|||||||
# Get git name.
|
# Get git name.
|
||||||
echo -n "Git name [$defaultGitName]: "
|
echo -n "Git name [$defaultGitName]: "
|
||||||
read -r gitName
|
read -r gitName
|
||||||
[[ -z $gitName ]] && gitName=$defaultGitName me
|
[[ -z $gitName ]] && gitName=$defaultGitName
|
||||||
|
|
||||||
# Get git email.
|
# Get git email.
|
||||||
echo -n "Git email [$defaultGitEmail]: "
|
echo -n "Git email [$defaultGitEmail]: "
|
||||||
|
Loading…
Reference in New Issue
Block a user