From a2ebcb31d3ec2cd25364d1ac906c9744718b485c Mon Sep 17 00:00:00 2001 From: "C. McEnroe" Date: Sun, 1 Dec 2019 20:24:29 -0500 Subject: Change database file name to litterbox.sqlite --- litterbox.1 | 6 +++--- litterbox.h | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/litterbox.1 b/litterbox.1 index 76c32c6..d7163da 100644 --- a/litterbox.1 +++ b/litterbox.1 @@ -1,4 +1,4 @@ -.Dd November 29, 2019 +.Dd December 1, 2019 .Dt LITTERBOX 1 .Os . @@ -76,7 +76,7 @@ for the default path. . .Sh FILES .Bl -tag -width Ds -.It Pa $XDG_DATA_DIRS/litterbox/database.sqlite +.It Pa $XDG_DATA_DIRS/litterbox/litterbox.sqlite The database file is searched for first in .Ev $XDG_DATA_HOME , usually @@ -85,7 +85,7 @@ followed by the colon-separated list of paths .Ev $XDG_DATA_DIRS , usually .Pa /usr/local/share:/usr/share . -.It Pa ~/.local/share/litterbox/database.sqlite +.It Pa ~/.local/share/litterbox/litterbox.sqlite The most likely path to the database file. .El . diff --git a/litterbox.h b/litterbox.h index 07d4bbc..5a9a4f6 100644 --- a/litterbox.h +++ b/litterbox.h @@ -24,7 +24,7 @@ #include #include -#define DATABASE_PATH "litterbox/database.sqlite" +#define DATABASE_PATH "litterbox/litterbox.sqlite" static inline sqlite3 *dbOpenPath(char *path, int flags) { char *base = strrchr(path, '/'); -- cgit 1.4.1