diff options
author | Andinus <andinus@nand.sh> | 2020-10-08 00:37:01 +0530 |
---|---|---|
committer | Andinus <andinus@nand.sh> | 2020-10-08 00:37:01 +0530 |
commit | 69f17fe584d24a34b6d826780343819bdbcc3ccc (patch) | |
tree | 0cb277874227c467303fe36dcf1c3121672102a6 /share | |
parent | 574684fca66be90f789e5dbf5fd1a2bacaf84201 (diff) | |
download | leo-69f17fe584d24a34b6d826780343819bdbcc3ccc.tar.gz |
Get $backup_dir from config, format $mday with 2 leading zeros
This will not work with previous configs. But that's fine because I'm the only one using this.
Diffstat (limited to 'share')
-rw-r--r-- | share/config.pl | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/share/config.pl b/share/config.pl index caee891..7d542f3 100644 --- a/share/config.pl +++ b/share/config.pl @@ -31,5 +31,6 @@ $profile{mozilla} = $profile{".mozilla"}; sub get_gpg_fingerprint { return $gpg_fingerprint; } sub get_profile { return %profile; } sub get_gpg_bin { return $gpg_bin; } +sub get_backup_dir { return "/tmp/backups" } 1; |