diff options
author | Clément Lassieur <clement@lassieur.org> | 2018-08-16 18:13:26 +0200 |
---|---|---|
committer | Clément Lassieur <clement@lassieur.org> | 2018-08-16 19:19:14 +0200 |
commit | 31a398f8a30ac35aa29c64112622e25cc4e5ce8c (patch) | |
tree | e015d1f85eb4c979e948da1b464ad72ff5e25bc7 | |
parent | 7d7f6831069933e8961656385e178c03f0a492a9 (diff) | |
download | cuirass-31a398f8a30ac35aa29c64112622e25cc4e5ce8c.tar cuirass-31a398f8a30ac35aa29c64112622e25cc4e5ce8c.tar.gz |
database: Put database in /var/lib to avoid removal at each boot.
Fixes <https://bugs.gnu.org/32330>.
* src/cuirass/database.scm (%package-database): Change default file name from
/var/run/cuirass/cuirass.db to /var/lib/cuirass/cuirass.db.
-rw-r--r-- | src/cuirass/database.scm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cuirass/database.scm b/src/cuirass/database.scm index 4927f2a..e772f3d 100644 --- a/src/cuirass/database.scm +++ b/src/cuirass/database.scm @@ -126,7 +126,7 @@ question marks matches the number of arguments to bind." (define %package-database ;; Define to the database file name of this package. - (make-parameter (string-append %localstatedir "/run/" %package + (make-parameter (string-append %localstatedir "/lib/" %package "/" %package ".db"))) (define %package-schema-file |