guix-commits
[Top][All Lists]
Advanced

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

02/06: squash! Adjust file names for "index" -> "locate".


From: guix-commits
Subject: 02/06: squash! Adjust file names for "index" -> "locate".
Date: Wed, 7 Jun 2023 17:46:13 -0400 (EDT)

civodul pushed a commit to branch wip-guix-index
in repository guix.

commit 787dec4431e72747f8778ed8ae0b5d77b4912140
Author: Ludovic Courtès <ludo@gnu.org>
AuthorDate: Wed Jun 7 12:56:13 2023 +0200

    squash! Adjust file names for "index" -> "locate".
---
 guix/scripts/locate.scm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/guix/scripts/locate.scm b/guix/scripts/locate.scm
index 85c3c5e24b..f1c880c01f 100644
--- a/guix/scripts/locate.scm
+++ b/guix/scripts/locate.scm
@@ -187,11 +187,11 @@ SELECT version FROM SchemaVersion ORDER BY version DESC 
LIMIT 1;"
 (define user-database-file
   ;; Default user database file name.
   (string-append (cache-directory #:ensure? #f)
-                 "/index/db.sqlite"))
+                 "/locate/db.sqlite"))
 
 (define system-database-file
   ;; System-wide database file name.
-  (string-append %localstatedir "/cache/guix/index/db.sqlite"))
+  (string-append %localstatedir "/cache/guix/locate/db.sqlite"))
 
 (define (suitable-database create?)
   "Return a suitable database file.  When CREATE? is true, the returned



reply via email to

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