aboutsummaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
authorTobias Geerinckx-Rice <me@tobias.gr>2023-07-09 02:00:04 +0200
committerTobias Geerinckx-Rice <me@tobias.gr>2023-07-09 02:00:08 +0200
commit67790e7f2f8f5cd80c9d00b358a58a360ec90cdd (patch)
tree7140dbd64e09798d0b88d2edcf72311d3c67491e /etc
parent49f74b67a44882d2af0529abf3e60a9c37512f2c (diff)
downloadguix-67790e7f2f8f5cd80c9d00b358a58a360ec90cdd.tar.gz
guix-67790e7f2f8f5cd80c9d00b358a58a360ec90cdd.zip
guix-install.sh: Unconditionally install gnu-store.mount.
* etc/guix-install.sh (sys_enable_guix_daemon): Remove obsolete conditional.
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/;