aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2018-01-22 14:51:14 +0100
committerLudovic Courtès <ludo@gnu.org>2018-01-22 14:51:14 +0100
commitf9481e2222ae127d631888c0d81f5b725c5cbc2a (patch)
treef8c1d0dbc5c0a83dd157c6294550a3002e219986
parent0d3225a08b114713f92796d1595e987752f4ec00 (diff)
downloadcuirass-f9481e2222ae127d631888c0d81f5b725c5cbc2a.tar
cuirass-f9481e2222ae127d631888c0d81f5b725c5cbc2a.tar.gz
database: Change default file name to /var/run/cuirass/cuirass.db.
* src/cuirass/database.scm (%package-database): Change default file name from /var/cuirass.db (or similar) to /var/run/cuirass/cuirass.db.
-rw-r--r--src/cuirass/database.scm3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/cuirass/database.scm b/src/cuirass/database.scm
index a00023a..3d7e634 100644
--- a/src/cuirass/database.scm
+++ b/src/cuirass/database.scm
@@ -65,7 +65,8 @@ will be replaced by ARGS."
(define %package-database
;; Define to the database file name of this package.
- (make-parameter (string-append %localstatedir "/" %package ".db")))
+ (make-parameter (string-append %localstatedir "/run/" %package
+ "/" %package ".db")))
(define %package-schema-file
;; Define to the database schema file of this package.