From 67790e7f2f8f5cd80c9d00b358a58a360ec90cdd Mon Sep 17 00:00:00 2001 From: Tobias Geerinckx-Rice Date: Sun, 9 Jul 2023 02:00:04 +0200 Subject: 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(-) (limited to 'etc') 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 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/; -- cgit v1.2.3