From 69f17fe584d24a34b6d826780343819bdbcc3ccc Mon Sep 17 00:00:00 2001 From: Andinus Date: Thu, 8 Oct 2020 00:37:01 +0530 Subject: 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. --- share/config.pl | 1 + 1 file changed, 1 insertion(+) (limited to 'share') 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; -- cgit 1.4.1-2-gfad0