summary refs log tree commit diff
path: root/etc
diff options
context:
space:
mode:
Diffstat (limited to 'etc')
-rwxr-xr-xetc/guix-install.sh12
1 files 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/;