diff options
author | Andinus <andinus@nand.sh> | 2020-10-15 18:26:32 +0530 |
---|---|---|
committer | Andinus <andinus@nand.sh> | 2020-10-15 18:26:32 +0530 |
commit | bb75f71105233f6a197ae2945e524132376a89fb (patch) | |
tree | 187aa0d40afa263fc815f8ecab0d52a789646138 | |
parent | 5924071b7c85e90f37b61ddfb755483686de76a1 (diff) | |
download | leo-0.2.1.tar.gz |
Add new option in config v0.2.1
-rwxr-xr-x | leo.pl | 2 | ||||
-rw-r--r-- | share/leo.conf | 3 |
2 files changed, 4 insertions, 1 deletions
diff --git a/leo.pl b/leo.pl index 074223a..01708ad 100755 --- a/leo.pl +++ b/leo.pl @@ -70,7 +70,7 @@ $backup_dir .= "/$ymd"; path($backup_dir)->mkpath; # Create backup directory. my $gpg_fingerprint = $options{gpg_fingerprint} || "`nil'"; -my @gpg_recipients = split / /, $options{gpg_recipient}; +my @gpg_recipients = split / /, $options{gpg_recipients}; my $gpg_bin = $options{gpg_bin} || "gpg"; # Print help. diff --git a/share/leo.conf b/share/leo.conf index 3256d9a..8ccfb02 100644 --- a/share/leo.conf +++ b/share/leo.conf @@ -1,6 +1,9 @@ backup_dir = /home/andinus/backups gpg_fingerprint = D9AE4AEEE1F1B3598E81D9DFB67D55D482A799FD +# You don't have to include your key in gpg_recipients, it's added by +# default. Add multiple keys seperated by a space. +gpg_recipients = D9AE4AEEE1F1B3598E81D9DFB67D55D482A799FD gpg_bin = gpg2 signify_seckey = /home/andinus/.totally_not_my_key.sec |