diff --git a/MasterPassword/C/install b/MasterPassword/C/install index 1769e0a9..2188f90a 100755 --- a/MasterPassword/C/install +++ b/MasterPassword/C/install @@ -45,8 +45,8 @@ fi echo inf "You can also save your user name in ~/.bashrc. Leave blank to skip this step." -if MP_USERNAME=$(ask "Your full name:") && [[ $MP_USERNAME ]] ; then - printf 'export MP_USERNAME=%q\n' "$MP_USERNAME" >> ~/.bashrc +if MP_FULLNAME=$(ask "Your full name:") && [[ $MP_FULLNAME ]] ; then + printf 'export MP_FULLNAME=%q\n' "$MP_FULLNAME" >> ~/.bashrc fi echo diff --git a/MasterPassword/C/mpw.bashrc b/MasterPassword/C/mpw.bashrc index 98edc18f..4fb71d11 100644 --- a/MasterPassword/C/mpw.bashrc +++ b/MasterPassword/C/mpw.bashrc @@ -17,8 +17,8 @@ mpw() { :| _copy 2>/dev/null # Ask for the user's name and password if not yet known. - MP_USERNAME=${MP_USERNAME:-$(ask 'Your Full Name:')} + MP_FULLNAME=${MP_FULLNAME:-$(ask 'Your Full Name:')} # Start Master Password and copy the output. - printf %s "$(MP_USERNAME=$MP_USERNAME command mpw "$@")" | _copy + printf %s "$(MP_FULLNAME=$MP_FULLNAME command mpw "$@")" | _copy }