diff options
author | June McEnroe <june@causal.agency> | 2019-12-01 20:24:29 -0500 |
---|---|---|
committer | June McEnroe <june@causal.agency> | 2019-12-01 20:24:29 -0500 |
commit | a2ebcb31d3ec2cd25364d1ac906c9744718b485c (patch) | |
tree | 2208de81886c87167c8a390df035b4e265ebe1ad | |
parent | Add XDG_DATA_DIRS default value (diff) | |
download | litterbox-a2ebcb31d3ec2cd25364d1ac906c9744718b485c.tar.gz litterbox-a2ebcb31d3ec2cd25364d1ac906c9744718b485c.zip |
Change database file name to litterbox.sqlite
-rw-r--r-- | litterbox.1 | 6 | ||||
-rw-r--r-- | 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 <sys/stat.h> #include <sysexits.h> -#define DATABASE_PATH "litterbox/database.sqlite" +#define DATABASE_PATH "litterbox/litterbox.sqlite" static inline sqlite3 *dbOpenPath(char *path, int flags) { char *base = strrchr(path, '/'); |