about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rwxr-xr-xleo.pl8
-rw-r--r--share/leo.conf3
2 files changed, 4 insertions, 7 deletions
diff --git a/leo.pl b/leo.pl
index f079419..5c57686 100755
--- a/leo.pl
+++ b/leo.pl
@@ -68,8 +68,8 @@ $backup_dir .= "/$ymd";
 
 path($backup_dir)->mkpath; # Create backup directory.
 
-my $gpg_fingerprint = $options{gpg_fingerprint};
-my $gpg_bin = $options{gpg_bin};
+my $gpg_fingerprint = $options{gpg_fingerprint} || "`nil'";
+my $gpg_bin = $options{gpg_bin} || "gpg";
 
 # Print help.
 HelpMessage() and exit 0 if scalar @ARGV == 0 or $options{help};
@@ -171,11 +171,11 @@ Profile:};
     print qq{
         Encrypt files with $gpg_fingerprint\n
     --sign };
-        print "[Enabled]" if $options{sign};
+    print "[Enabled]" if $options{sign};
     print qq{
         Sign files with $gpg_fingerprint\n
     --delete };
-            print "[Enabled]" if $options{delete};
+    print "[Enabled]" if $options{delete};
     print qq{
         Delete the tar file after running $gpg_bin\n
     --verbose
diff --git a/share/leo.conf b/share/leo.conf
index 33df185..15386fc 100644
--- a/share/leo.conf
+++ b/share/leo.conf
@@ -27,6 +27,3 @@ sign = 1
 /home/andinus/projects =
 # Exclude directories with `exclude' value.
 /home/andinus/projects/forks = exclude
-
-[academics]
-/home/andinus/documents/academics =
-02-10 11:40:31 +0100 committer Abdo Roig-Maranges <abdo.roig@gmail.com> 2013-02-12 12:08:44 +0100 Merged code to manipulate version control systems' href='/akspecs/ranger/commit/setup.py?id=e6b847b34d2f48a60dabde39d96d227f1f818c6c'>e6b847b3 ^
225aa78f ^
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
                     
                                                             
                                                                        



                     
                          







                                            
                                       
                                                    
                                                                         








                                                            
                               
                                       
                                    
45e2056d73a47ab66f82'>bfcc0f85 ^
33352536 ^
03c6f1d3 ^
33352536 ^
03c6f1d3 ^
33352536 ^
3ac95f6a ^

71eb22a5 ^
33352536 ^
03c6f1d3 ^
2a2a5b1e ^
33352536 ^
6070c23e ^
2a2a5b1e ^
6ecddbaa ^
2a2a5b1e ^
33352536 ^
03c6f1d3 ^


33352536 ^

7a583220 ^
33352536 ^

03c6f1d3 ^
f0705578 ^
71eb22a5 ^
7a583220 ^
33352536 ^

f0705578 ^
33352536 ^


f0705578 ^
33352536 ^
f0705578 ^

33352536 ^
7a583220 ^
33352536 ^

f0705578 ^
1639687b ^

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77