guix-install.sh: Replace tabs with spaces.
Almost the entire file is indented with spaces, a few tabs slipped in, clean them up. * etc/guix-install.sh(chk_sys_arch): Replace tabs with spaces. (sys_enable_guix_daemon): Likewise. Signed-off-by: Christopher Baines <mail@cbaines.net>master
parent
8ecec73dc6
commit
7c16406809
|
@ -183,9 +183,9 @@ chk_sys_arch()
|
||||||
aarch64)
|
aarch64)
|
||||||
local arch=aarch64
|
local arch=aarch64
|
||||||
;;
|
;;
|
||||||
armv7l)
|
armv7l)
|
||||||
local arch=armhf
|
local arch=armhf
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
_err "${ERR}Unsupported CPU type: ${arch}"
|
_err "${ERR}Unsupported CPU type: ${arch}"
|
||||||
exit 1
|
exit 1
|
||||||
|
@ -379,15 +379,15 @@ sys_enable_guix_daemon()
|
||||||
/etc/systemd/system/;
|
/etc/systemd/system/;
|
||||||
chmod 664 /etc/systemd/system/guix-daemon.service;
|
chmod 664 /etc/systemd/system/guix-daemon.service;
|
||||||
|
|
||||||
# Work around <https://bugs.gnu.org/36074>, present in 1.0.1.
|
# Work around <https://bugs.gnu.org/36074>, present in 1.0.1.
|
||||||
sed -i /etc/systemd/system/guix-daemon.service \
|
sed -i /etc/systemd/system/guix-daemon.service \
|
||||||
-e "s/GUIX_LOCPATH='/'GUIX_LOCPATH=/";
|
-e "s/GUIX_LOCPATH='/'GUIX_LOCPATH=/";
|
||||||
|
|
||||||
# Work around <https://bugs.gnu.org/35671>, present in 1.0.1.
|
# Work around <https://bugs.gnu.org/35671>, present in 1.0.1.
|
||||||
if ! grep en_US /etc/systemd/system/guix-daemon.service >/dev/null;
|
if ! grep en_US /etc/systemd/system/guix-daemon.service >/dev/null;
|
||||||
then sed -i /etc/systemd/system/guix-daemon.service \
|
then sed -i /etc/systemd/system/guix-daemon.service \
|
||||||
-e 's/^Environment=\(.*\)$/Environment=\1 LC_ALL=en_US.UTF-8';
|
-e 's/^Environment=\(.*\)$/Environment=\1 LC_ALL=en_US.UTF-8';
|
||||||
fi;
|
fi;
|
||||||
|
|
||||||
systemctl daemon-reload &&
|
systemctl daemon-reload &&
|
||||||
systemctl enable guix-daemon &&
|
systemctl enable guix-daemon &&
|
||||||
|
|
Reference in New Issue