guix-commits
[Top][All Lists]
Advanced

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

01/16: guix-install.sh: Unconditionally install gnu-store.mount.


From: guix-commits
Subject: 01/16: guix-install.sh: Unconditionally install gnu-store.mount.
Date: Sat, 15 Jul 2023 18:15:05 -0400 (EDT)

nckx pushed a commit to branch master
in repository guix.

commit 67790e7f2f8f5cd80c9d00b358a58a360ec90cdd
Author: Tobias Geerinckx-Rice <me@tobias.gr>
AuthorDate: Sun Jul 9 02:00:04 2023 +0200

    guix-install.sh: Unconditionally install gnu-store.mount.
    
    * etc/guix-install.sh (sys_enable_guix_daemon):
    Remove obsolete conditional.
---
 etc/guix-install.sh | 12 +++++-------
 1 file changed, 5 insertions(+), 7 deletions(-)

diff --git a/etc/guix-install.sh b/etc/guix-install.sh
index 1949f00ed4..943cbdb480 100755
--- a/etc/guix-install.sh
+++ b/etc/guix-install.sh
@@ -437,13 +437,11 @@ sys_enable_guix_daemon()
             { # systemd .mount units must be named after the target directory.
               # Here we assume a hard-coded name of /gnu/store.
               # XXX Work around <https://issues.guix.gnu.org/41356> until next 
release.
-              if [ -f 
~root/.config/guix/current/lib/systemd/system/gnu-store.mount ]; then
-                  cp 
~root/.config/guix/current/lib/systemd/system/gnu-store.mount \
-                     /etc/systemd/system/;
-                  chmod 664 /etc/systemd/system/gnu-store.mount;
-                  systemctl daemon-reload &&
-                      systemctl enable gnu-store.mount;
-              fi
+              cp ~root/.config/guix/current/lib/systemd/system/gnu-store.mount 
\
+                 /etc/systemd/system/;
+              chmod 664 /etc/systemd/system/gnu-store.mount;
+              systemctl daemon-reload &&
+                  systemctl enable gnu-store.mount;
 
               cp 
~root/.config/guix/current/lib/systemd/system/guix-daemon.service \
                  /etc/systemd/system/;



reply via email to

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