From 31a398f8a30ac35aa29c64112622e25cc4e5ce8c Mon Sep 17 00:00:00 2001 From: Clément Lassieur Date: Thu, 16 Aug 2018 18:13:26 +0200 Subject: database: Put database in /var/lib to avoid removal at each boot. Fixes . * src/cuirass/database.scm (%package-database): Change default file name from /var/run/cuirass/cuirass.db to /var/lib/cuirass/cuirass.db. --- src/cuirass/database.scm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3