guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[no subject]


From: Ludovic Courtès
Date: Mon, 22 Jan 2018 17:41:39 -0500 (EST)

branch: master
commit f9481e2222ae127d631888c0d81f5b725c5cbc2a
Author: Ludovic Courtès <address@hidden>
Date:   Mon Jan 22 14:51:14 2018 +0100

    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.
---
 src/cuirass/database.scm | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

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.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]