diff options
author | Aimilius <emiel.wiedijk01@gmail.com> | 2017-03-13 19:16:30 +0100 |
---|---|---|
committer | Aimilius <emiel.wiedijk01@gmail.com> | 2017-03-13 19:16:30 +0100 |
commit | 5487cc1061c4cfd6f260b1c0195a5edb80330313 (patch) | |
tree | 2507bf4b80e0df4bc1dbd94021a90d79d255f016 | |
parent | 022eb4f5b6e06af185b3cc84db722e6023a9d13a (diff) | |
download | pass-otp-5487cc1061c4cfd6f260b1c0195a5edb80330313.tar.gz pass-otp-5487cc1061c4cfd6f260b1c0195a5edb80330313.zip |
Initialize $INNER_GIT_DIR
-rwxr-xr-x | otp.bash | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -45,6 +45,9 @@ otp_insert() { [[ $force -eq 0 && -e $passfile ]] && yesno "An entry already exists for $path. Overwrite it?" + local passfile="$PREFIX/$path.gpg" + set_git "$passfile" + mkdir -p -v "$PREFIX/$(dirname "$path")" set_gpg_recipients "$(dirname "$path")" |