From 4c84b1a04348e317ef2b9e014e4bd06bfc6d8cf2 Mon Sep 17 00:00:00 2001 From: Florian Pritz Date: Sun, 2 Apr 2017 21:42:25 +0200 Subject: Move database path to Settings Signed-off-by: Florian Pritz --- lib/App/BorgRestore/Settings.pm | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'lib/App/BorgRestore') diff --git a/lib/App/BorgRestore/Settings.pm b/lib/App/BorgRestore/Settings.pm index 93312b8..f793b8f 100644 --- a/lib/App/BorgRestore/Settings.pm +++ b/lib/App/BorgRestore/Settings.pm @@ -42,6 +42,10 @@ sub get_cache_path { return get_cache_dir()."/$item"; } +sub get_db_path { + return get_cache_path('archives.db'); +} + 1; -- cgit v1.2.3-24-g4f1b