summaryrefslogtreecommitdiff
path: root/etc/guix-install.sh
diff options
context:
space:
mode:
authorIvan Popovych <ivan@ipvych.com>2025-06-12 14:48:51 +0300
committerLudovic Courtès <ludo@gnu.org>2025-06-20 17:59:03 +0200
commit90ef2f48b144ca619c660b062e16818ab0a43418 (patch)
treed98ab38a2a463e8b1d815c17b37aaf1b99bf0d67 /etc/guix-install.sh
parent93e84595ec18e5eb912ea55313c904c5b66f1847 (diff)
guix-install.sh: Set shellcheck shell to bash.
* etc/guix-install.sh: Set shellcheck shell to bash. Change-Id: Ief28167f0e2b83c254026174e62959a32c34e29a Signed-off-by: Ludovic Courtès <ludo@gnu.org>
Diffstat (limited to 'etc/guix-install.sh')
-rwxr-xr-xetc/guix-install.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/etc/guix-install.sh b/etc/guix-install.sh
index 2944cb97f6a..68e96166a4c 100755
--- a/etc/guix-install.sh
+++ b/etc/guix-install.sh
@@ -51,6 +51,8 @@
51# installation required the user to extract Guix packs under /gnu to 51# installation required the user to extract Guix packs under /gnu to
52# satisfy its dependencies. 52# satisfy its dependencies.
53 53
54# shellcheck shell=bash
55
54# shellcheck disable=2268 # try to support vintage shells 56# shellcheck disable=2268 # try to support vintage shells
55if [ "x$BASH_VERSION" = "x" ]; then 57if [ "x$BASH_VERSION" = "x" ]; then
56 exec bash "$0" "$@" 58 exec bash "$0" "$@"
@@ -510,7 +512,7 @@ sys_create_build_user()
510 fi 512 fi
511 513
512 create_account guix-daemon guix-daemon \ 514 create_account guix-daemon guix-daemon \
513 guix-daemon$KVMGROUP \ 515 guix-daemon"$KVMGROUP" \
514 "Unprivileged Guix Daemon User" 516 "Unprivileged Guix Daemon User"
515 517
516 # ‘tar xf’ creates root:root files. Change that. 518 # ‘tar xf’ creates root:root files. Change that.