[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#40601] [PATCH 4/7] guix-install.sh: trivial whitespace fix.
From: |
Vincent Legoll |
Subject: |
[bug#40601] [PATCH 4/7] guix-install.sh: trivial whitespace fix. |
Date: |
Sun, 31 May 2020 22:42:54 +0200 |
Almost the entire file is indented with spaces, a few tabs slipped in, clean
them up.
Checked triviality with git diff -b.
* etc/guix-install.sh(chk_sys_arch): Replace tabs with spaces.
(sys_enable_guix_daemon): Likewise.
---
etc/guix-install.sh | 22 +++++++++++-----------
1 file changed, 11 insertions(+), 11 deletions(-)
diff --git a/etc/guix-install.sh b/etc/guix-install.sh
index 28fcf831c5..14616f790b 100755
--- a/etc/guix-install.sh
+++ b/etc/guix-install.sh
@@ -173,9 +173,9 @@ chk_sys_arch()
aarch64)
local arch=aarch64
;;
- armv7l)
- local arch=armhf
- ;;
+ armv7l)
+ local arch=armhf
+ ;;
*)
_err "${ERR}Unsupported CPU type: ${arch}"
exit 1
@@ -355,15 +355,15 @@ sys_enable_guix_daemon()
/etc/systemd/system/;
chmod 664 /etc/systemd/system/guix-daemon.service;
- # Work around <https://bugs.gnu.org/36074>, present in 1.0.1.
- sed -i /etc/systemd/system/guix-daemon.service \
- -e "s/GUIX_LOCPATH='/'GUIX_LOCPATH=/";
+ # Work around <https://bugs.gnu.org/36074>, present in 1.0.1.
+ sed -i /etc/systemd/system/guix-daemon.service \
+ -e "s/GUIX_LOCPATH='/'GUIX_LOCPATH=/";
- # Work around <https://bugs.gnu.org/35671>, present in 1.0.1.
- if ! grep en_US /etc/systemd/system/guix-daemon.service
>/dev/null;
- then sed -i /etc/systemd/system/guix-daemon.service \
- -e 's/^Environment=\(.*\)$/Environment=\1
LC_ALL=en_US.UTF-8';
- fi;
+ # Work around <https://bugs.gnu.org/35671>, present in 1.0.1.
+ if ! grep en_US /etc/systemd/system/guix-daemon.service
>/dev/null;
+ then sed -i /etc/systemd/system/guix-daemon.service \
+ -e 's/^Environment=\(.*\)$/Environment=\1
LC_ALL=en_US.UTF-8';
+ fi;
systemctl daemon-reload &&
systemctl start gnu-store.mount guix-daemon &&
--
2.26.2
- [bug#40601] [PATCH 1/7] guix-install.sh: Remove "[[" bashisms in chk_init_sys()., Vincent Legoll, 2020/05/31
- [bug#40601] [PATCH 3/7] guix-install.sh: Fix requirements., Vincent Legoll, 2020/05/31
- [bug#40601] [PATCH 4/7] guix-install.sh: trivial whitespace fix.,
Vincent Legoll <=
- [bug#40601] [PATCH 5/7] guix-install.sh: Add variable quoting in sys_make_guix_available., Vincent Legoll, 2020/05/31
- [bug#40601] [PATCH 6/7] guix-install.sh: Fix variable uses in guix_get_bin_list()., Vincent Legoll, 2020/05/31
- [bug#40601] [PATCH 7/7] guix-install.sh: Add missing variable quoting & curly-bracketing in guix_get_bin()., Vincent Legoll, 2020/05/31
- [bug#40601] [PATCH 2/7] guix-install.sh: Remove $UID bashism., Vincent Legoll, 2020/05/31