From 97dcc65eac8f6e5412bcd42524b5cf18c23ebee9 Mon Sep 17 00:00:00 2001 From: Maarten Billemont Date: Tue, 16 Dec 2014 08:54:58 -0500 Subject: [PATCH] Update install scripts for new env var names. --- MasterPassword/C/install | 4 ++-- MasterPassword/C/mpw.bashrc | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) 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 }