aboutsummaryrefslogtreecommitdiff
path: root/otp.bash
diff options
context:
space:
mode:
Diffstat (limited to 'otp.bash')
-rwxr-xr-xotp.bash2
1 files changed, 2 insertions, 0 deletions
diff --git a/otp.bash b/otp.bash
index 00f57e1..85e167c 100755
--- a/otp.bash
+++ b/otp.bash
@@ -45,6 +45,8 @@ otp_insert() {
[[ $force -eq 0 && -e $passfile ]] && yesno "An entry already exists for $path. Overwrite it?"
+ set_git "$passfile"
+
mkdir -p -v "$PREFIX/$(dirname "$path")"
set_gpg_recipients "$(dirname "$path")"